-
Notifications
You must be signed in to change notification settings - Fork 26
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
Compile Linux binaries with Zig #39
Conversation
This reverts commit e455943.
Sounds cool, are there any potential performance downsides? |
Is it possible to support musl linux with |
I haven't done any profiling myself, but since zig uses clang, I would expect the results to be properly optimized and not significantly different than gcc. Zig can also link against musl libc. An interesting writeup here: https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html |
I came across that post, too. It would be great to have musl libc binaries out of the box. It seems that we just need to ensure that |
I can take a look at compiling against musl |
Do you want to continue work on this branch or a new PR? |
|
Probably a separate PR if that's ok with you |
Resolves #37
All Linux builds are now run on the stock ubuntu-latest GH Actions runners, cross-compiling if necessary. Zig's ability to target glibc 2.17 is used to ensure we comply with manylinux2014.
The arm build has also been tweaked to target the Raspberry Pi 1 armv6 configuration instead of armv7l. This resolves the illegal instruction issue discovered in lexiforest/curl_cffi#192.