Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Provide a static binary with musl #403

@dufferzafar

Description

@dufferzafar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions