Skip to main content

run_rustc_wrapper_from_env

Function run_rustc_wrapper_from_env 

Source
pub fn run_rustc_wrapper_from_env<I>(
    args: I,
) -> Result<ExitStatus, WrapperError>
where I: IntoIterator<Item = OsString>,
Expand description

Run one invocation received through Cargo’s RUSTC_WRAPPER protocol.

Cargo invokes a wrapper as wrapper rustc rustc-args.... Probe invocations are forwarded byte-for-byte. Compilation invocations additionally emit one explicit descriptor object and one atomic unit sidecar.