Closed
Description
git checkout 53df91a9b24ad999e7ca896447af6f5f74fe43bc
(today's master)make prepare
[...]
Compiling bootstrap v0.0.0 (/home/jethro/projects/rust/src/bootstrap)
Finished dev [unoptimized] target(s) in 7.16s
(success)
git checkout 72bfc375356b56933955e07471f91ef97dceaa94
([BETA] Update cargo #63957)make prepare
[...]
Compiling bootstrap v0.0.0 (/home/jethro/projects/rust/src/bootstrap)
error: unnecessary `unsafe` block
--> src/bootstrap/builder.rs:148:19
|
148 | name: unsafe { ::std::intrinsics::type_name::<S>() },
| ^^^^^^ unnecessary `unsafe` block
|
note: lint level defined here
--> src/bootstrap/lib.rs:107:9
|
107 | #![deny(warnings, rust_2018_idioms, unused_lifetimes)]
| ^^^^^^^^
= note: `#[deny(unused_unsafe)]` implied by `#[deny(warnings)]`
[...]
(failure)
If I do rm -rf build/x86_64-unknown-linux-gnu/stage0
, the second step works without issue.
Not sure what's going on, normally x.py is able to choose the stage0 compiler fine.