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.
This commit is contained in:
commit
720c2bf8f8
1 changed files with 1 additions and 1 deletions
|
|
@ -338,7 +338,7 @@ path = "lib.rs"
|
|||
let target = target.as_ref().unwrap_or(&host);
|
||||
// Now invoke xargo.
|
||||
let mut command = xargo_check();
|
||||
command.arg("build").arg("-q");
|
||||
command.arg("check").arg("-q");
|
||||
command.arg("--target").arg(target);
|
||||
command.current_dir(&dir);
|
||||
command.env("XARGO_HOME", &dir);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue