do not even look for cargo metadata in 'cargo miri setup'

This commit is contained in:
Ralf Jung 2018-12-02 10:29:57 +01:00
parent a9eda8012c
commit dcfc2f207e

View file

@ -223,6 +223,10 @@ fn main() {
// We always setup
let ask = subcommand != MiriCommand::Setup;
setup(ask);
if subcommand == MiriCommand::Setup {
// Stop here.
return;
}
// Now run the command.
for target in list_targets(std::env::args().skip(skip)) {