Skip to content

Commit 68f7019

Browse files
committed
rename xargo -> xargo_check
1 parent 5960e8b commit 68f7019

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/cargo-miri.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fn cargo() -> Command {
100100
}
101101
}
102102

103-
fn xargo() -> Command {
103+
fn xargo_check() -> Command {
104104
if let Ok(val) = std::env::var("XARGO_CHECK") {
105105
// Bootstrap tells us where to find xargo
106106
Command::new(val)
@@ -202,7 +202,7 @@ fn test_sysroot_consistency() {
202202
}
203203

204204
fn xargo_version() -> Option<(u32, u32, u32)> {
205-
let out = xargo().arg("--version").output().ok()?;
205+
let out = xargo_check().arg("--version").output().ok()?;
206206
if !out.status.success() {
207207
return None;
208208
}
@@ -376,7 +376,7 @@ path = "lib.rs"
376376
// Prepare xargo invocation.
377377
let target = get_arg_flag_value("--target");
378378
let print_sysroot = !ask_user && has_arg_flag("--print-sysroot"); // whether we just print the sysroot path
379-
let mut command = xargo();
379+
let mut command = xargo_check();
380380
command.arg("build").arg("-q");
381381
command.current_dir(&dir);
382382
command.env("RUSTFLAGS", miri::miri_default_args().join(" "));

0 commit comments

Comments
 (0)