rustc_session::config::native_libs

Function parse_and_apply_modifier

Source
fn parse_and_apply_modifier(
    cx: &ParseNativeLibCx<'_>,
    modifier: &str,
    native_lib: &mut NativeLib,
)
Expand description

Parses one of the comma-separated modifiers (prefixed by + or -), and modifies native_lib appropriately.

Exits with a fatal error if a malformed/unknown/inappropriate modifier is found.