Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support target_os #123

Open
Porges opened this issue Jun 8, 2022 · 1 comment
Open

Support target_os #123

Porges opened this issue Jun 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Porges
Copy link

Porges commented Jun 8, 2022

It seems like target_os is not supported, leading to false positives.

@est31 est31 added the bug Something isn't working label Jun 8, 2022
@faern
Copy link

faern commented Jul 1, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants