rustc_session::options::parse

Function parse_bool

source
pub(crate) fn parse_bool(slot: &mut bool, v: Option<&str>) -> bool
Expand description

Use this for any boolean option that has a static default.