mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-03 12:28:13 +08:00
Add GHOSTTY_BUILD_INFO_OPTIMIZE to query the Zig optimization mode (debug, release safe/small/fast) the library was compiled with. This reads directly from builtin.mode at comptime so it requires no build system plumbing.