}
}
if !pass_sanity_check {
- println!("{}\n", subcommand_help);
- println!(
+ eprintln!("{}\n", subcommand_help);
+ eprintln!(
"Sorry, I couldn't figure out which subcommand you were trying to specify.\n\
You may need to move some options to after the subcommand.\n"
);
./x.py test library/std --test-args hash_map
./x.py test library/std --stage 0 --no-doc
./x.py test src/test/ui --bless
- ./x.py test src/test/ui --compare-mode nll
+ ./x.py test src/test/ui --compare-mode chalk
Note that `test src/test/* --stage N` does NOT depend on `build compiler/rustc --stage N`;
just like `build library/std --stage N` it tests the compiler produced by the previous
Kind::Build => Subcommand::Build { paths },
Kind::Check => {
if matches.opt_present("all-targets") {
- eprintln!(
+ println!(
"Warning: --all-targets is now on by default and does not need to be passed explicitly."
);
}
if matches.opt_str("keep-stage").is_some()
|| matches.opt_str("keep-stage-std").is_some()
{
- println!("--keep-stage not yet supported for x.py check");
+ eprintln!("--keep-stage not yet supported for x.py check");
process::exit(1);
}
}