-
Notifications
You must be signed in to change notification settings - Fork 30
Description
The pre-built binary targets use dynamic glibc (e.g. x86_64-unknown-linux-gnu), but they could also be compiled with statically-linked musl libc (e.g. x86_64-unknown-linux-musl). I just tried doing this locally for v0.6.0 and it worked without modifying any source code. Furthermore, I was surprised to learn that the musl version is actually slightly smaller than the glibc version (21MB vs 22MB) despite having nothing in the dynamic symbol table (verified with objdump -T).
Would anybody be opposed to switching over to statically-linked pre-built binaries like this? This ought to strictly improve compatibility, which is pretty important for pre-built binaries. I was running into issues trying to use the pre-built binaries in Bazel's CI pipeline.