rust/library/std
Guillaume Gomez a8a71d093e
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)
2024-05-23 23:39:29 +02:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #125452 - Urgau:check-cfg-libraries-cleanup, r=bjorn3 2024-05-23 23:39:29 +02:00
tests Rename test for issue 21058 2024-05-05 10:47:12 -04:00
build.rs Move some expected cfgs to std build.rs as per Cargo recommandation 2024-05-23 16:08:31 +02:00
Cargo.toml Copy core/alloc check-cfg message also in std 2024-05-23 16:08:34 +02:00