Searched refs:split_src_path (Results 1 – 2 of 2) sorted by relevance
343 (out.package_dir, out.main_src) = split_src_path(Path::new(arg))?; in from_rustc_invocation()429 fn split_src_path(src_path: &Path) -> Result<(PathBuf, PathBuf)> { in split_src_path() function
152 let main_src = split_src_path(&target.src_path, &package_dir); in parse_cargo_metadata()302 fn split_src_path<'a>(src_path: &'a Path, package_dir: &Path) -> &'a Path { in split_src_path() function