Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dfbc7eb

Browse files
committed
Version the prebuilt libstd again
__CARGO_DEFAULT_LIB_METADATA got lost in the rewrite of the build system from bash to rust
1 parent a49c6b8 commit dfbc7eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_system/build_sysroot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ fn build_clif_sysroot_for_triple(
193193
"RUSTC",
194194
env::current_dir().unwrap().join(target_dir).join("bin").join("cg_clif_build_sysroot"),
195195
);
196+
build_cmd.env("__CARGO_DEFAULT_LIB_METADATA", "cg_clif");
196197
spawn_and_wait(build_cmd);
197198

198199
// Copy all relevant files to the sysroot

0 commit comments

Comments
 (0)