Pre-built Rust/musl toolchain improvements
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Currently, the pre-built Rust/musl toolchain links against libgcc_s and libstdc++ dynamically, with an assumption that these libraries would be present in any Linux distro. This assumtion is wrong, and causes all sorts of pain for users who don't have those, for example on distro's that use toolchains other than GCC (LLVM, Zig etc.).
Request: provide pre-built Rust/musl toolchains with libgcc_s and libstdc++ compiled in statically. Or better yet, compile those toolchains against static compiler_rt and libc++.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the build entry points for the pre-built Rust/musl toolchains and inspect how their runtime libraries are linked. Compare the current dynamic libgcc_s/libstdc++ dependencies with the requested static alternatives, and consider the toolchain output complete when it works without those libraries being present on Linux distributions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100