File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ fn main() {
150150 println ! ( "cargo:rerun-if-env-changed=CARGO_ENCODED_RUSTFLAGS" ) ;
151151 println ! ( "cargo:rerun-if-env-changed=RUSTC" ) ;
152152 println ! ( "cargo:rerun-if-env-changed=TARGET" ) ;
153- println ! ( "cargo:rerun-if-env-changed=CARGO_RUSTC_WRAPPER " ) ;
153+ println ! ( "cargo:rerun-if-env-changed=RUSTC_WRAPPER " ) ;
154154 println ! ( "cargo:rerun-if-env-changed=PROFILE" ) ;
155155}
156156
@@ -240,7 +240,7 @@ fn can_compile<T: AsRef<str>>(test: T) -> bool {
240240 let rustc = var ( "RUSTC" ) . unwrap ( ) ;
241241 let target = var ( "TARGET" ) . unwrap ( ) ;
242242
243- let mut cmd = if let Ok ( wrapper) = var ( "CARGO_RUSTC_WRAPPER " ) {
243+ let mut cmd = if let Ok ( wrapper) = var ( "RUSTC_WRAPPER " ) {
244244 let mut cmd = std:: process:: Command :: new ( wrapper) ;
245245 // The wrapper's first argument is supposed to be the path to rustc.
246246 cmd. arg ( rustc) ;
You can’t perform that action at this time.
0 commit comments