From dfbc7eb6c7e2ae618be8c8d78eaf18b9112be735 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Tue, 23 Nov 2021 14:25:28 +0100 Subject: [PATCH] Version the prebuilt libstd again __CARGO_DEFAULT_LIB_METADATA got lost in the rewrite of the build system from bash to rust --- build_system/build_sysroot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build_system/build_sysroot.rs b/build_system/build_sysroot.rs index 9a5430a606b7..1c78e7b5171e 100644 --- a/build_system/build_sysroot.rs +++ b/build_system/build_sysroot.rs @@ -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