build: increase comptime branch quota for ghostty.h enum checks
The MSVC translate-c output includes Windows SDK declarations, bringing the total to ~2173 declarations (vs ~1502 on Linux/Mac). The nested inline for in checkGhosttyHEnum (enum fields x declarations) exceeds the 1M comptime branch quota for larger enums like MouseShape (34 variants). Increase to 10M to accommodate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>pull/11813/head
parent
ce99300513
commit
68378a0bb8
|
|
@ -105,7 +105,7 @@ pub fn checkGhosttyHEnum(
|
|||
try std.testing.expect(info.@"enum".tag_type == c_int);
|
||||
try std.testing.expect(info.@"enum".is_exhaustive == true);
|
||||
|
||||
@setEvalBranchQuota(1000000);
|
||||
@setEvalBranchQuota(10_000_000);
|
||||
|
||||
const c = @import("ghostty.h");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue