Skip to main content

remapped_flags

Function remapped_flags 

Source
pub fn remapped_flags(
    encoded: Option<OsString>,
    plain: Option<OsString>,
    remaps: &[(PathBuf, String)],
) -> String
Expand description

The value of ENCODED for a build with remaps: the flags already in encoded (that variable), else those in plain (RUSTFLAGS, split on white space), then a --remap-path-prefix for each remap.