Rollup merge of #99650 - jyn514:keep-stage-check, r=Mark-Simulacrum
Support `x --keep-stage 0 check` Stage 1 check has been supported since https://github.com/rust-lang/rust/pull/81064. https://github.com/rust-lang/rust/pull/81064 changed the error message for this, but I don't think there's any reason we should prevent using it. I tested locally and `keep-stage` works fine. r? `@Mark-Simulacrum`
This commit is contained in:
commit
44c4b4a0e7
@ -623,15 +623,6 @@ Arguments:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Subcommand::Check { .. } = &cmd {
|
|
||||||
if matches.opt_str("keep-stage").is_some()
|
|
||||||
|| matches.opt_str("keep-stage-std").is_some()
|
|
||||||
{
|
|
||||||
eprintln!("--keep-stage not yet supported for x.py check");
|
|
||||||
crate::detail_exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Flags {
|
Flags {
|
||||||
verbose: matches.opt_count("verbose"),
|
verbose: matches.opt_count("verbose"),
|
||||||
stage: matches.opt_str("stage").map(|j| j.parse().expect("`stage` should be a number")),
|
stage: matches.opt_str("stage").map(|j| j.parse().expect("`stage` should be a number")),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user