Skip to main content

collect_libraries

Function collect_libraries 

Source
fn collect_libraries(
    sources: &BTreeSet<PathBuf>,
) -> HashMap<PathBuf, HashSet<String>>
Expand description

Parses each source file with solar and returns the library names declared in it.

Files that fail to parse are skipped, so a missing entry means “unknown”, not “no libraries”.