Provide a static binary with musl
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.9k
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
I couldn't use the binary provided as it builds with GLIBC and I'm on an older ubuntu, then I tried to build the package myself and got a linker error in tree-sitter due to some missing link time dependency so i finally tried cross to build me a static binary with musl. It was as easy as:
cargo install cross --git https://github.com/cross-rs/cross
cross build --release --target x86_64-unknown-linux-musl
ldd target/x86_64-unknown-linux-musl/release/gitu
statically linked
Providing it along with current releases will be good for users with older systems.
Contributor guide
No contributing guide indexed for this repository
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
Use the reported cross build --release --target x86_64-unknown-linux-musl command as the starting point, and inspect how current releases produce their binaries. Done means releases also provide a statically linked x86_64-unknown-linux-musl binary, verifiable with ldd as shown in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- build-system, cli, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100