-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
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:
hello.rs:1:1: 1:1 error: the crate `std` has been compiled with rustc 1.6.0-dev, which is incompatible with this version of rustc [E0514]
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.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.