Open compiler-errors opened 1 day ago
We have a couple instances of env::*_var which are now unsafe in edition 2024. They're not necessarily obviously safe, so I've left them with a FIXME(edition_2024) -- we should fix them eventually.
env::*_var
FIXME(edition_2024)
https://github.com/rust-lang/rust/blob/28364822410af31bba5c8adac19cbbfcb9b48717/compiler/rustc_llvm/build.rs#L54
https://github.com/rust-lang/rust/blob/28364822410af31bba5c8adac19cbbfcb9b48717/compiler/rustc_feature/src/tests.rs#L6
The rustc_llvm/build.rs one should be safe. We don't spawn any threads inside the build script.
We have a couple instances of
env::*_var
which are now unsafe in edition 2024. They're not necessarily obviously safe, so I've left them with aFIXME(edition_2024)
-- we should fix them eventually.https://github.com/rust-lang/rust/blob/28364822410af31bba5c8adac19cbbfcb9b48717/compiler/rustc_llvm/build.rs#L54
https://github.com/rust-lang/rust/blob/28364822410af31bba5c8adac19cbbfcb9b48717/compiler/rustc_feature/src/tests.rs#L6