rustup icon indicating copy to clipboard operation
rustup copied to clipboard

Support for `armv7-unknown-linux-musl`

Open MPThLee opened this issue 2 years ago • 5 comments

Problem you are trying to solve

It's bit complicated, but I need armv7 build of rust docker image. But which is not supported for alpine linux image. (Because I'm trying to use docker on 32bit RPi)

So, I tried to find what sources of image and found that Docker image is built from this script which uses rustup.

And also, rustup only supports two musl targets. Because both are Highest host tools support for musl.

Solution you'd like

It's not easy as it is just Tier 2 support. But I'm hoping to see the arm/v7 build on rustup.

Notes

  • #2984

MPThLee avatar Jul 04 '23 19:07 MPThLee

I also want this

Xgames123 avatar Mar 14 '25 21:03 Xgames123

It looks like right now, this inadvertantly results in a stable-armv7-unknown-linux-gnueabihf toolchain being installed. I'll probably take a look at resolving this.

alex avatar Jun 15 '25 13:06 alex

@alex armv7-unknown-linux-musl* is currently Tier 2 without Host Tools, do you have plans to promote these targets to Tier 2 with host tools? Because rustup would mean nothing if the host target hasn't reached that tier...

rami3l avatar Jun 15 '25 13:06 rami3l

Yup.

alex avatar Jun 15 '25 13:06 alex

Updating the state here: this target was grandfathered into tier 2, and cannot be promoted to tier 2 with host tools unless it has some dedicated maintainers. I've drafted the MCP here https://github.com/rust-lang/compiler-team/issues/888 but cannot commit to being a maintainer myself.

alex avatar Jul 14 '25 12:07 alex