comment feedback
This commit is contained in:
parent
46489040e6
commit
5e2969e7d5
@ -1710,10 +1710,11 @@ impl Config {
|
|||||||
&& source_version.minor == rustc_version.minor + 1))
|
&& source_version.minor == rustc_version.minor + 1))
|
||||||
{
|
{
|
||||||
let prev_version = format!("{}.{}.x", source_version.major, source_version.minor - 1);
|
let prev_version = format!("{}.{}.x", source_version.major, source_version.minor - 1);
|
||||||
panic!(
|
eprintln!(
|
||||||
"Unexpected rustc version: {}, we should use {}/{} to build source with {}",
|
"Unexpected rustc version: {}, we should use {}/{} to build source with {}",
|
||||||
rustc_version, prev_version, source_version, source_version
|
rustc_version, prev_version, source_version, source_version
|
||||||
);
|
);
|
||||||
|
crate::detail_exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user