diff options
| author | Urgau <urgau@numericable.fr> | 2024-09-19 11:19:35 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2024-10-04 09:09:20 +0200 |
| commit | 62ef411631efb25134e29da76fcdb7802aa94bd4 (patch) | |
| tree | 52298c664f291f37a910d8a0c2e10b1e062314f5 /compiler/rustc_feature/src/unstable.rs | |
| parent | c99f29b29fa4115436c352a921f9963b173b5608 (diff) | |
| download | rust-62ef411631efb25134e29da76fcdb7802aa94bd4.tar.gz rust-62ef411631efb25134e29da76fcdb7802aa94bd4.zip | |
Feature gate boolean lit support in cfg predicates
Diffstat (limited to 'compiler/rustc_feature/src/unstable.rs')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 1ffd35dbf91..643a95e6ea1 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -371,6 +371,8 @@ declare_features! ( (unstable, async_for_loop, "1.77.0", Some(118898)), /// Allows using C-variadics. (unstable, c_variadic, "1.34.0", Some(44930)), + /// Allows the use of `#[cfg(<true/false>)]`. + (unstable, cfg_boolean_literals, "CURRENT_RUSTC_VERSION", Some(131204)), /// Allows the use of `#[cfg(overflow_checks)` to check if integer overflow behaviour. (unstable, cfg_overflow_checks, "1.71.0", Some(111466)), /// Provides the relocation model information as cfg entry |
