Skip to content

Commit

Permalink
Update bun.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 25, 2024
1 parent 3bfe86e commit 781e467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4151,7 +4151,7 @@ pub const StackCheck = struct {
pub fn isSafeToRecurse(this: StackCheck) bool {
const stack_ptr: usize = @frameAddress();
const remaining_stack = stack_ptr -| this.cached_stack_end;
return remaining_stack > 1024 * 128;
return remaining_stack > 1024 * if (Environment.isWindows) 256 else 128;
}
};

Expand Down

0 comments on commit 781e467

Please sign in to comment.