Skip to main content

remap_path

Function remap_path 

Source
pub(crate) fn remap_path(
    build_runner: &BuildRunner<'_, '_>,
    unit: &Unit,
    path: &Path,
) -> Option<PathBuf>
Expand description

Remaps path the same way rustc does with trim_paths_remap rules, like the last takes precedence.

None if no rule matches.