You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @petr-tik! Thanks for dropping this comment - I will be honest with you that I never thought of bare zld being used this way at all - I always intended for it to be used via the Zig compiler directly. However, you are making a good point, and I am actively trying my best to keep this repo with the changes to the MachO linker in Zig proper in sync, so I will work on a short note on how you can use the zld as a drop-in linker replacement.
Nice! Glad you find this interesting. It will help zig adoption if people can try a standalone zig-implemented linker, measure its performance improvement without learning about zig, toolchain and installation.
Personally, I am most interested in linking 1GB+ Cpp executables built with cmake and rust executables built with cargo on Linux x86_64. Happy to test drive, compare against mold and report results.
Hey, thanks for the awesome project.
I was curious to try zld with cargo/rust, but found no instructions to do so.
If you are willing and able to dedicate time, I would appreciate if you could document how to point cargo to use zld for linking.
Mold has something like this, which makes it pretty easy
https://github.com/rui314/mold#how-to-use
The text was updated successfully, but these errors were encountered: