Improved the compiler code with clippy
This commit is contained in:
parent
c67277301c
commit
3c5e88c7d1
4 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
fn main() {
|
||||
println!("cargo:rerun-if-changed=build.rs");
|
||||
println!("cargo:rerun-if-env-changed=RUSTC_BOOTSTRAP");
|
||||
if !std::env::var("RUSTC_BOOTSTRAP").is_ok() {
|
||||
if std::env::var("RUSTC_BOOTSTRAP").is_err() {
|
||||
eprintln!(
|
||||
"error: you are attempting to build the compiler without going through bootstrap"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue