Skip to content

Commit 720c2bf

Browse files
committed
Auto merge of #1491 - RalfJung:xargo-check, r=RalfJung
only check-build the dummy xargo project No reason to actually emit any object code. This helps with some strange ICEs when testing Miri in the rustc workspace.
2 parents abe55c2 + 797436c commit 720c2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-miri/bin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ path = "lib.rs"
338338
let target = target.as_ref().unwrap_or(&host);
339339
// Now invoke xargo.
340340
let mut command = xargo_check();
341-
command.arg("build").arg("-q");
341+
command.arg("check").arg("-q");
342342
command.arg("--target").arg(target);
343343
command.current_dir(&dir);
344344
command.env("XARGO_HOME", &dir);

0 commit comments

Comments
 (0)