Version the prebuilt libstd again

__CARGO_DEFAULT_LIB_METADATA got lost in the rewrite of the build system
from bash to rust
This commit is contained in:
bjorn3 2021-11-23 14:25:28 +01:00
parent a49c6b8a57
commit dfbc7eb6c7

View file

@ -193,6 +193,7 @@ fn build_clif_sysroot_for_triple(
"RUSTC",
env::current_dir().unwrap().join(target_dir).join("bin").join("cg_clif_build_sysroot"),
);
build_cmd.env("__CARGO_DEFAULT_LIB_METADATA", "cg_clif");
spawn_and_wait(build_cmd);
// Copy all relevant files to the sysroot