about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-05-23 23:39:29 +0200
committerGitHub <noreply@github.com>2024-05-23 23:39:29 +0200
commita8a71d093e54e183b65f274fc216dff102d81b55 (patch)
tree38277398b0d4bd4b3c816af65b41f1d4c510d15e /compiler/rustc_codegen_llvm/src/back/write.rs
parent0de052acd8b7c475a17cfb0dc91b8bd95b5cdc2a (diff)
parent45ad60d05ad904e1a3de1089480a614fcd4e90dd (diff)
downloadrust-a8a71d093e54e183b65f274fc216dff102d81b55.tar.gz
rust-a8a71d093e54e183b65f274fc216dff102d81b55.zip
Rollup merge of #125452 - Urgau:check-cfg-libraries-cleanup, r=bjorn3
Cleanup check-cfg handling in core and std

Follow-up to https://github.com/rust-lang/rust/pull/125296 where we:
 - expect any feature cfg in std, due to `#[path]` imports
 - move some check-cfg args inside the `build.rs` as per Cargo recommendation
 - and replace the fake Cargo feature `"restricted-std"` by the custom cfg `restricted_std`

Fixes https://github.com/rust-lang/rust/pull/125296#issuecomment-2127009301
r? `@bjorn3` (maybe, feel free to re-roll)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions