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

Features declared in Cargo.toml can cause files to not get checked without clean #10

Open
davidlattimore opened this issue Apr 17, 2018 · 1 comment

Comments

@davidlattimore
Copy link
Contributor

If a crate has a non-empty [features] section, then it seems that not all targets get checked for matches unless the user runs "cargo clean" first.

@davidlattimore
Copy link
Contributor Author

This appears to be an issue with cargo (or plausibly a misunderstanding of cargo on my part). I've raised rust-lang/cargo#5375. I could work around it by making rerast do a full cargo clean before it does a cargo check, but that feels very heavy handed and might slow down rerast quite a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant