Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant