-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Audit usages of std::env::*_var in the compiler #130672
Copy link
Copy link
Open
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for Bug.
We have a couple instances of
env::*_varwhich 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.rust/compiler/rustc_llvm/build.rs
Line 54 in 2836482
rust/compiler/rustc_feature/src/tests.rs
Line 6 in 2836482