3 ms·
It only uses the LLVM backend for release builds. For debug builds Zig now defaults to self-hosted (on supported platforms, only x86_64 right now). Debug builds
by mitchellh 1y ago
It only uses the LLVM backend for release builds. For debug builds Zig now defaults to self-hosted (on supported platforms, only x86_64 right now). Debug builds are directly in the hot path of testing your software (this includes building test binaries), and the number of iterations you do on a debug build are multiple orders of magnitude higher than release builds, so this is a good tradeoff.
- brabel 1y agoThe post says the llvm is used in all builds they measured since the self hosted backend still can’t compile ghostty.
- deleted 1y ago[deleted]
- dundarious 1y agoIncorrect, the last build is substantially faster and is using the "native" debug backend.