Incorrect module paths for files not in an crate/src/ directory #2
Labels
invalid
This doesn't seem right
output mismatch
Output of siderophile does not match the corresponding callgraph label
siderophile
naively looks for "src" occurring in the current Rust file path, and will sometimes overshoot the actual crate root. This sometimes gives output likesince
filters.rs
presumably occurs in thetests/
directory of thelog
crate.A neat fix would be to give a relative path to
ast_walker::find_unsafe_in_file
instead of an absolute path.The text was updated successfully, but these errors were encountered: