-
Notifications
You must be signed in to change notification settings - Fork 657
musl / alpine linux support #3633
Comments
Likely the same issue as #3549. |
Seems like the other issue was related to the binary depending on a newer version of glibc than what was shipped in CentOS, where this is specifically a problem where So... might be the same issue, or at least, having the same solution? For example, statically linking to all glibc libs might solve both issues. I wasn't really sure if it would make sense to contribute to that issue or create a new one :) |
The two are related but require slightly different solutions Supporting musl requires a separate Rome build for every platform that links against musl instead of glibc. Musl is a Tier 2 target of Rusttier 2 |
With gcompat I encountered an error with pico-args that I reported. It could be nice to see if we got new problems once #4405 merged. |
@pacak You just need to install gcompat: apk add gcompat |
I'm on Ubuntu so it won't work :) Any ready made docker script that I can hack or anything like that? |
Ah sorry I tested on q fresh installation. I did not test with a container... |
Well, FWIW
A simple replication - this should print something like fn main() {
println!("{:?}", std::env::args_os());
} There's not much I can do to support it, but compiling for musl target specifically should work. |
Environment information
What happened?
Tried to run
rome
on our CI pipeline, only to discover the binary isn't able to run in thenode:16-alpine
image we are using for this.Most likely due to it using musl instead of glibc.
Expected result
rome
to work on my CI pipeline ;)Specifically, I think it would make sense if musl targets got added as a release artifacts, and for those to be pulled down instead of linux-x86.
Code of Conduct
The text was updated successfully, but these errors were encountered: