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:
bors 2020-07-29 16:24:43 +00:00
commit 720c2bf8f8

View file

@ -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);