Skip to content

Provide a static binary with musl #403

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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