mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-11 04:51:46 +00:00
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`
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.