Add riscv64gc-unknown-linux-musl#4813
Conversation
This comment has been minimized.
This comment has been minimized.
|
@eshattow Hello, and sorry for the late reply 🙏 Are there any updates on this matter? Is this PR waiting for something to happen? I'd love to help if you need anything to land it. Many thanks in advance 🙇 |
|
Thanks @rami3l no actionables yet, I have been looking at the powerpc promotion (to Tier 2) PR as an example. Welcome any advice or guidance :-) I have an amd64 desktop to run the build, also StarFive JH7110 (riscv64gc) and SpacemiT K3 (riscv64a23) boards to build or test with. Admittedly I don't know much about rust or the build system previously this is from my viewpoint something that needs done to move along the official rust docker images that much CI/CD depends on in the GitHub-using community; learning as I go. One point I am unclear about is if we have RISE RISC-V runners or not configured for the GitHub account? Should I be writing this as a cross-compiled build with amd64 or instead natively with the ubuntu-24.04-riscv runner; or is it a blend of both for build and test? |
|
Pending rollup of completed MCP 982 implementation. |
fdeb735 to
7423b04
Compare
|
Patches in upstream Linux for detection and reporting of RVA20 or RVA23 microarchitecture runtime environment (for example https://lore.kernel.org/linux-riscv/20260701-rva23u64-hwprobe-v2-v5-0-2c61f94a695a@gmail.com/ ) have not yet landed, so I remain here in rustup context with the assumption of RVA20 profile that is the most compatible. This will need some changes if/when RVA23 targets are promoted; I would tee this up to be prepared but there's not an agreed upon way to do it yet. |
|
@rami3l writes:
Thanks for that suggestion! I think I have implemented this as described, also see for reference MCP 982 tracking issue rust-lang/rust#156191 and the merge PR implementing that promotion to "with Tools" rust-lang/rust#158766 The Let me know what you think, thanks again! -E |
18522bf to
0d2d502
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
riscv6gc-unknown-linux-musl is now a Tier 2 target with host tools. Add support for it in rustup.
Additionally, add some missing riscv64gc-unknown-linux-gnu entries in rustup tree. The glibc dist build target name was renamed from dist-riscv64-linux to dist-riscv64-linux-gnu as part of the addition of musl dist build target.