Skip to main content

intercept

Function intercept 

Source
pub fn intercept() -> Option<Error>
Expand description

Runs as the wrapper when the marker is set and cargo’s call shape matches. None means this is a normal xtask invocation, including one a test spawned under the marker it inherited; Some is only ever the failure to start rustc, because success replaces this process.