rustc_session::options::parse

Function parse_opt_bool

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

Use this for any boolean option that lacks a static default. (The actions taken when such an option is not specified will depend on other factors, such as other options, or target options.)