rustc_driver::args

Function raw_args

Source
pub fn raw_args(
    early_dcx: &EarlyDiagCtxt,
) -> Result<Vec<String>, ErrorGuaranteed>
Expand description

Gets the raw unprocessed command-line arguments as Unicode strings, without doing any further processing (e.g., without @file expansion).

This function is identical to env::args() except that it emits an error when it encounters non-Unicode arguments instead of panicking.