Skip to content

validate target triples before resolving crates #33329

Closed
@brson

Description

@brson

I stared at this for a while

$ rustc --target=x86_64_unknown-linux-musl src/main.rs
error: can't find crate for `std` [E0463]
error: aborting due to previous error

before realizing I had typod the target triple. If the target had been validated earlier the error would be more obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions