Skip to main content

maybe_exec_as_wrapper

Function maybe_exec_as_wrapper 

Source
pub fn maybe_exec_as_wrapper() -> bool
Expand description

If we’re running as a RUSTC_WRAPPER (sentinel env var is set), rewrite the rustc args and exec the real compiler. Never returns.

If we’re NOT in wrapper mode, returns false so the caller can proceed with normal CLI parsing.