Skip to content

Commit

Permalink
Fix run-make-support to respect per-stage cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Sep 24, 2024
1 parent 705ab17 commit 5389792
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tools/run-make-support/src/external_deps/cargo.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use crate::command::Command;
use crate::env_var;

/// Returns a command that can be used to invoke Cargo.
/// Returns a command that can be used to invoke cargo. The cargo is provided by compiletest
/// through the `CARGO` env var.
pub fn cargo() -> Command {
Command::new(env_var("BOOTSTRAP_CARGO"))
Command::new(env_var("CARGO"))
}

0 comments on commit 5389792

Please sign in to comment.