3 ms·
Would you maybe consider adding a musl version to your releases?
by JCattheATM 10mo ago
Would you maybe consider adding a musl version to your releases?
- OlaProis 10mo agoGood idea! A musl build would solve the glibc compatibility issues Added to the v0.2.3 roadmap — will provide a statically-linked x86_64-unknown-linux-musl binary alongside the standard glibc one.
- JCattheATM 10mo agoThanks, I'll look forward to trying it then :)
- OlaProis 10mo agoI tried to add it for this release but hit a wall with the font rendering dependencies (freetype, fontconfig). GUI apps need these for text display, and they don't play well with fully static musl linking - the build system wants a musl C++ cross-compiler and static versions of system libraries that aren't readily available in CI. We'll keep looking into options - possibly a Docker-based build with a proper musl toolchain, or investigating if we can make fontconfig use dlopen at runtime. For now the glibc build (Ubuntu 22.04) should run on most Linux distros. If anyone has experience with static musl builds for Rust GUI apps, we'd love to hear what's worked!