Skip to main content

prepare_strict_input

Function prepare_strict_input 

Source
pub fn prepare_strict_input(input_path: &Path) -> Result<Option<Prepared>>
Expand description

If input_path is strict (per-file marker or project-level opt-in), lower the whole source tree into the cache and return the new root path + a --remap-path-prefix flag.

Returns Ok(None) for non-strict sources — the caller should pass the original args through to the underlying tool unchanged.