1
Fork 0
rust/compiler/rustc_session/src
Guillaume Gomez 2ceeeb159d
Rollup merge of #131034 - Urgau:cfg-true-false, r=nnethercote
Implement RFC3695 Allow boolean literals as cfg predicates

This PR implements https://github.com/rust-lang/rfcs/pull/3695: allow boolean literals as cfg predicates, i.e. `cfg(true)` and `cfg(false)`.

r? `@nnethercote` *(or anyone with parser knowledge)*
cc `@clubby789`
2024-10-04 15:42:53 +02:00
..
config Adjust check-cfg get_many_mut usage following API change 2024-10-02 09:45:27 +02:00
code_stats.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
config.rs add unstable support for outputting file checksums for use in cargo 2024-10-01 21:23:20 -06:00
cstore.rs Use ast::NestedMetaItem when evaluating cfg predicate 2024-10-01 10:01:09 +02:00
errors.rs Rollup merge of #129897 - RalfJung:soft-float-ignored, r=Urgau 2024-09-15 20:55:12 +02:00
filesearch.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lib.rs Rollup merge of #129087 - slanterns:option_get_or_insert_default, r=dtolnay 2024-09-27 19:07:58 +02:00
options.rs improve shell help text 2024-10-01 21:24:05 -06:00
output.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
parse.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
search_paths.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
session.rs Replace -Z default-hidden-visibility with -Z default-visibility 2024-10-01 22:32:13 +10:00
utils.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
version.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00