bootstrap::utils::shared_helpers

Function parse_rustc_verbose

Source
pub fn parse_rustc_verbose() -> usize
Expand description

Parses the value of the “RUSTC_VERBOSE” environment variable and returns it as a usize. If it was not defined, returns 0 by default.

Panics if “RUSTC_VERBOSE” is defined with the value that is not an unsigned integer.