Skip to content

Commit 2853388

Browse files
committed
Fix rustc test suite
1 parent eff1c5d commit 2853388

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
@@ -247,6 +247,7 @@ fn build_clif_sysroot_for_triple(
247247
let mut build_cmd = STANDARD_LIBRARY.build(&compiler, dirs);
248248
build_cmd.arg("--release");
249249
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()));
250251
build_cmd.env("CARGO_PROFILE_RELEASE_DEBUG", "true");
251252
build_cmd.env("__CARGO_DEFAULT_LIB_METADATA", "cg_clif");
252253
if compiler.triple.contains("apple") {

0 commit comments

Comments
 (0)