Fix erronous use of "Rust only" flag

This commit is contained in:
Stephen Seo 2023-06-23 12:03:57 +09:00
parent cd6647d1a5
commit 024c41f4a6

View file

@ -1116,8 +1116,7 @@ def update_pkg_list(
pkgdir = os.path.join(other_state["clones_dir"], pkg)
if "ccache_dir" in pkg_state[pkg]:
cleanup_sccache(other_state["chroot"])
if not pkg_state[pkg]["sccache_rust_only"]:
setup_ccache(other_state["chroot"])
setup_ccache(other_state["chroot"])
else:
cleanup_ccache(other_state["chroot"])
if (