Skip to content

Provide pre-build host compiler for aarch64-unknown-linux-musl  #75721

@alex

Description

@alex
Member

aarch64-unknown-linux-musl is currently a tier 2 platform with pre-built libstd, but not pre-built host compiler (rustc, cargo, etc.) It would be useful to me if the host compiler was available. Specifically it's important to me because pyca/cryptography -- the most widely used Python crypto library -- builds and tests on Alpine Linux, which uses musl. We're currently looking at expanding aarch64 testing in CI, and not needing to special case Alpine aarch64 would be great.

I'm happy to try to work up a PR for this, but there's one thing I'm not positive about: can this be a cross-compilation, the way aarch64-unknown-linux-gnu is (I know there's ongoing work to have aarch64 be tier1 with tests run natively).

I've currently hacked up the dockerfiles to do this, but I'm only about 40% sure I did it correctly, so we'll see, assuming this idea is acceptable.

Activity

added
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.
T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.
O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
O-muslTarget: The musl libc
on Aug 19, 2020
alex

alex commented on Sep 16, 2020

@alex
MemberAuthor

Fixed in #76420

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateO-muslTarget: The musl libcT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @alex@jonas-schievink

      Issue actions

        Provide pre-build host compiler for aarch64-unknown-linux-musl · Issue #75721 · rust-lang/rust