We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RUSTC_WRAPPER
CARGO_RUSTC_WRAPPER
1 parent 50bed8b commit d48bd49Copy full SHA for d48bd49
build.rs
@@ -47,7 +47,7 @@ fn can_compile<T: AsRef<str>>(test: T) -> bool {
47
let rustc = var("RUSTC").unwrap();
48
let target = var("TARGET").unwrap();
49
50
- let mut cmd = if let Ok(wrapper) = var("CARGO_RUSTC_WRAPPER") {
+ let mut cmd = if let Ok(wrapper) = var("RUSTC_WRAPPER") {
51
let mut cmd = std::process::Command::new(wrapper);
52
// The wrapper's first argument is supposed to be the path to rustc.
53
cmd.arg(rustc);
0 commit comments