pub fn rust_reachable(
targets: &[RustTarget],
read: &dyn Fn(&str) -> Option<String>,
) -> BTreeMap<String, Vec<(String, String)>>Expand description
Where each file reachable from targets sits: the targets’ binary ids
with the file’s module path ("" for a crate root). read gives a
file’s text (workspace-relative path); a file it cannot read ends the
walk there. #[path] is followed; a path leaving the root is ignored.