Skip to main content

initialize_checked

Function initialize_checked 

Source
pub fn initialize_checked(limit: usize, report: impl FnOnce(String))
Expand description

Initializes a jobserver client for the current rustc process. If inheriting jobserver from the environment fails for some reason, an new jobserver owned by the current rustc process will be created. If the inheritance failure reason is non-benign, the passed callback will be used to report the error.