We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff1c5d commit 2853388Copy full SHA for 2853388
build_system/build_sysroot.rs
@@ -247,6 +247,7 @@ fn build_clif_sysroot_for_triple(
247
let mut build_cmd = STANDARD_LIBRARY.build(&compiler, dirs);
248
build_cmd.arg("--release");
249
build_cmd.arg("--features").arg("backtrace panic-unwind compiler-builtins-no-f16-f128");
250
+ build_cmd.arg(format!("-Zroot-dir={}", STDLIB_SRC.to_path(dirs).display()));
251
build_cmd.env("CARGO_PROFILE_RELEASE_DEBUG", "true");
252
build_cmd.env("__CARGO_DEFAULT_LIB_METADATA", "cg_clif");
253
if compiler.triple.contains("apple") {
0 commit comments