Loading
ghostty: limit the amount of build cores
For some bizarre reason Zig contains a bug where the compiler would crash when a large enough file is embedded AND when too many cores are used during compilation. This has been causing Hydra builds to repeatedly fail, while Ofborg and manual testing by maintainers were never able to reproduce the failure. However, given this is preventing Ghostty 1.2 from landing in the binary cache, we need to work around it somehow. 24 cores should be *more* than enough for now, but if it still doesn't work we can lower the threshold even further. Links to upstream discussions: * https://github.com/ziglang/zig/issues/25297 * https://github.com/ziglang/zig/issues/22867 * https://github.com/ghostty-org/ghostty/discussions/8676 Fixes #445326