Skip to content

[E0514] error message not clear  #30363

Closed
@MagaTailor

Description

@MagaTailor

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

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions