rustc_session::utils

Function extra_compiler_flags

Source
pub fn extra_compiler_flags() -> Option<(Vec<String>, bool)>
Expand description

Gets a list of extra command-line flags provided by the user, as strings.

This function is used during ICEs to show more information useful for debugging, since some ICEs only happens with non-default compiler flags (and the users don’t always report them).