about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-13 15:57:03 +0100
committerGitHub <noreply@github.com>2025-01-13 15:57:03 +0100
commit957247d5461e273e6259a61c6debc18bf8652615 (patch)
tree5368df90c04b064ecbf94f65d35bec14590f21a4 /compiler/rustc_codegen_llvm/src
parent448bad9eba322a11bd5ff25e1f898284ded22946 (diff)
parent54ce831db0471732515697c99999f1cec7da99a1 (diff)
downloadrust-957247d5461e273e6259a61c6debc18bf8652615.tar.gz
rust-957247d5461e273e6259a61c6debc18bf8652615.zip
Rollup merge of #135245 - Enselic:no-set-env, r=davidtwco
rustc_feature: Avoid unsafe `std::env::set_var()` in `UnstableFeatures` tests

Avoid unsafe `std::env::set_var()` by allowing tests to inject `std::env::var("RUSTC_BOOTSTRAP")` with a `env_var_rustc_bootstrap` parameter.

Part of https://github.com/rust-lang/rust/issues/130672

Discussed at https://github.com/rust-lang/rust/pull/129636#discussion_r1766381501 (CC `@compiler-errors` `@bjorn3)`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions