axodotdev / axodotdev/cargo-dist
`musl-g++` missing when building `x86_64-unknown-linux-musl` artifact
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
Dear cargo dist team,
I have this pipeline https://github.com/eth-cscs/manta/actions/runs/13227334279/job/36919876655 created with cargo dist, one of the targets is `x86_64-unknown-linux-musl))` and currently fails because the crate `rdkafka` is a c binding and needs `musl-g++` to compile.
For some `reason x86_64-unknown-linux-gnu` works
Any idea? is this something that could be fixed?
thank you
Contributor guide
Research direction
Start with the linked GitHub Actions job and compare the x86_64-unknown-linux-musl setup with the working x86_64-unknown-linux-gnu setup. Trace how cargo-dist provisions build dependencies for the rdkafka C binding, then verify that the musl artifact can build with musl-g++ available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100