Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 51b77e0

Browse files
committed
Don't use the shim with black-listed crates
1 parent 4179e7d commit 51b77e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/build/cargo.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ impl Executor for RlsExecutor {
305305
// Currently we don't cache nor modify build script args
306306
let is_build_script = crate_name == "build_script_build";
307307
if !self.is_primary_crate(id) || is_build_script {
308+
let mut cmd = Command::new(&env::var("RUSTC").unwrap_or("rustc".to_owned()));
308309
let build_script_notice = if is_build_script {" (build script)"} else {""};
309310
trace!("rustc not intercepted - {}{}", id.name(), build_script_notice);
310311

0 commit comments

Comments
 (0)