Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Linux binaries with musl #263

Merged
merged 1 commit into from
Sep 9, 2022
Merged

Commits on Sep 7, 2022

  1. Build Linux binaries with musl

    When I tried to build with "normal" glibc, I got weird errors on old/new glibc.
    
    Instead of building with glibc, which limits us with compatibility and weird issues, let's build with
    musl, which will always produce 100% static library.
    
    (Musl is a libc alternative. The good thing is musl is statically linked
    and can cross-compile relatively easily.)
    
    The actual hard work is building all these musl cross-compilers;
    luckily, Rust people already did that for Rust :) we can steal that and reuse.
    
    Note that this all works on both AMD and ARM hosts, as both the musl cross-compilers images
    and the go images are published for both.
    igor-hnizdo committed Sep 7, 2022
    Configuration menu
    Copy the full SHA
    24d8150 View commit details
    Browse the repository at this point in the history