-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[E0514] error message not clear #30363
Comments
The compilers must have been built from the same commit. |
Strange that it's not printing the hash if it's still able to compare against it. |
Try to run |
Fresh from the reddit thread, eh? EDIT: |
Reddit thread? |
What compilers were you using? |
Those were 1.6 nightlies for armhf (from rustbuild) and i686 (mine) architectures roughly from the same day - hence the matching crate names. |
Apparently the nightlies are built with different values of |
The |
I guess this may depend on the string being compared, the nightly compilers have the version string ending with I wonder if perhaps this check should just compare commit revisions? |
I can confirm I got it working in both directions using 1.5.0-dev (after building from the same snapshot on both architectures) - |
I'd like to suggest including the commit info in the full source snapshots so that it can be parsed by the build scripts and
|
The original issue has turned out to be about something else - fully compatible crates were being rejected for the sole reason In other words, it's not possible to pick up crates from rust-lang and use them in your own compiler built from tarball source, meaning #30622 shouldn't close this. |
I was trying to cross-compile something, and even though, the identically named down to the hash (compatible?), std crate for the cross arch had come from the same minor version (rustc 1.6.0-dev) I still got the error:
What is required for the crates to be compatible then? The exact commit hash of the rust compilers as well?
If so, this issue could be about something else too - building from a full source snapshot (instead of git clones) doesn't put the hash info into the binary.
The text was updated successfully, but these errors were encountered: