Add a statically-linked musl file to releases#19
Conversation
Useful for being able to use tool in systems with old glibc versions
|
@juan-leon Could you elaborate a bit more on why this is useful? |
|
The current releases have a binary dinamically linked. That is: binary reuses libraries supposedly present in the system and cannot be used in those systems without those libraries. Github actions run in a modern Ubuntu ( Unfortunately this is not always the case (for instance, in older versions of Ubuntu like I use). This is the output of ldd on my system for the (and of course the binary does not work) This is the output of ldd with the musl binary I generated with my fork of your project: File is somewhat bigger (14M vs 13M), but it can run in every linux system with arch amd64/i686. Often widely used tools built with rust politely include a musl version in the releases page (in addition to the dynamically linked version) for those that have old (or not so mainstream) linux systems. Examples: Hope it helps. Please let me know if you need more info.
|
Having a statically linked binary is useful for being able to use tool in systems with old glibc versions.