Skip to content

Commit

Permalink
Increase branch quota
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Jun 20, 2022
1 parent 1c1d494 commit f5a5c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflect.zig
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ const debug = std.log.debug;
fn reflect() void {
// We run this at Compile-Time (instead of Runtime)...
comptime {
// Allow Zig Compiler to loop up to 10,000,000 times (Default is 1,000)
@setEvalBranchQuota(10_000_000);
// Allow Zig Compiler to loop up to 100,000,000 times (Default is 1,000)
@setEvalBranchQuota(100_000_000);

// Test Zig Reflection
test_reflection();
Expand Down

0 comments on commit f5a5c82

Please sign in to comment.