4 ms·
I didn't even know zig had a linker, just assumed it used libclang's driver to the system linker. So does it use lld, I suppose? If so, how different is this
by wyldfire 5y ago
I didn't even know zig had a linker, just assumed it used libclang's driver to the system linker. So does it use lld, I suppose? If so, how different is this from using rust-lld?
- dgellow 5y agoThey seem to have their own linker: https://github.com/ziglang/zig/issues/8755 https://github.com/ziglang/zig/issues/8755. > Now that there is significant work put into Mach-O linking thanks to @kubkon, Zig is more than just a linker driver for LLD. It is now a linker that competes in the linker space, and some projects may want to use Zig as a drop-in replacement for other linkers.