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 6a9758d commit 29f2e27Copy full SHA for 29f2e27
tests/run-make/compiler-builtins/rmake.rs
@@ -63,7 +63,10 @@ fn main() {
63
.env("RUSTC", rustc)
64
.env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes")
65
.env("CARGO_TARGET_DIR", &target_dir)
66
- .env("RUSTC_BOOTSTRAP", "1");
+ .env("RUSTC_BOOTSTRAP", "1")
67
+ // Visual Studio 2022 requires that the LIB env var be set so it can
68
+ // find the Windows SDK.
69
+ .env("LIB", std::env::var("LIB").unwrap_or_default());
70
set_host_rpath(&mut cmd);
71
72
let status = cmd.status().unwrap();
0 commit comments