Skip to main content

initialize

Function initialize 

Source
pub fn initialize(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.