Skip to content

build fails with error[E0463]: can't find crate for rustc_macros which rustc depends on in rustc_llvm #62447

Open
@Cogitri

Description

@Cogitri

Hello,

We hit this while compiling rust 1.35.0 -> rust 1.36.0 on x86. This is for the distro package for Alpine Linux. Please note that we're compiling against our own triplets, in this case it's for i586-alpine-linux-musl, see the definition here: https://gist.github.com/6bae5fdcf6bb5a95b3b779ceb2dd79f7

I'm pretty sure that that error is on us - but the error message doesn't really help me solve it, so maybe x.py/configure should catch this and give a better error message? A pointer in the right direction would certainly be very appreciated :)

See https://cloud.drone.io/alpinelinux/aports/8259/1/1

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-muslTarget: The musl libcT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions