Skip to content

Commit 9ac9d51

Browse files
committed
Keep the LIB env var in the compiler-builtins test
1 parent 6a9758d commit 9ac9d51

File tree

1 file changed

+2
-1
lines changed
  • tests/run-make/compiler-builtins

1 file changed

+2
-1
lines changed

tests/run-make/compiler-builtins/rmake.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ fn main() {
6363
.env("RUSTC", rustc)
6464
.env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes")
6565
.env("CARGO_TARGET_DIR", &target_dir)
66-
.env("RUSTC_BOOTSTRAP", "1");
66+
.env("RUSTC_BOOTSTRAP", "1")
67+
.env("LIB", std::env::var("LIB").unwrap_or_default());
6768
set_host_rpath(&mut cmd);
6869

6970
let status = cmd.status().unwrap();

0 commit comments

Comments
 (0)