cargo-udeps
cargo-udeps copied to clipboard
Support target_os
It seems like target_os
is not supported, leading to false positives.
Maybe you mean something different than what I experience. But I get false negatives due to this. If I run cargo udeps --all-targets
on Linux, in a crate with:
[target.'cfg(target_os="macos")'.dependencies]
an_unused_dependency = "1"
It will not find it. Is there any way to make cargo udeps
check all targets. Sorry if this is not at all what the issue is about.