-
Notifications
You must be signed in to change notification settings - Fork 61
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
[E0464]: multiple matching crates after using cargo check #78
Comments
That does seem annoying... Could removal of the As a side question, why use |
Thank you for your pointer, I'll try that out. I run |
Ah, I see. It's not the test suite that runs |
Running
cargo check
creates a.rmeta
file with a different hash than the actual rlib built. This makescargo test
unable to compile tests which import the tested crate for integration testing.This travis build fails because of the duplicate files https://travis-ci.org/hdhoang/testee/jobs/285433441#L481
It runs fine after removing the
rmeta
file https://travis-ci.org/hdhoang/testee/builds/285434745#L443This is possibly related to rust-lang/cargo#3501. Until
check
andbuild
use the same metadata, this issue would hindercompiletest-rs
adoption.I think we can workaround this by removing the relevant rmeta files when building tests.
The text was updated successfully, but these errors were encountered: