Function cargo::ops::fix::fix_exec_rustc

source ·
pub fn fix_exec_rustc(config: &Config, lock_addr: &str) -> CargoResult<()>
Expand description

Entry point for cargo running as a proxy for rustc.

This is called every time cargo is run to check if it is in proxy mode.

If there are warnings or errors, this does not return, and the process exits with the corresponding rustc exit code.

See fix_get_proxy_lock_addr