Evaluates boolean combinations of configuration flags at compile-time.
In addition to the #[cfg]
attribute, this macro is provided to allow boolean expression evaluation of configuration flags. This frequently leads to less duplicated code.
The syntax given to this macro is the same syntax as the cfg
attribute.
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/macro.cfg.html