Skip to main content

FLAGS

Static FLAGS 

Source
pub static FLAGS: Mutex<BTreeMap<&str, &[&str]>>
Expand description

Raw capture of rustc flags used to build each crate in the project. Informed by rustc_flags_capture macro (one in each crate’s mod.rs). This is done during static initialization which is why it’s mutex-protected and pub. Should not be written to by anything other than our macro.