Skip to content

Commit 6d02408

Browse files
committed
Set stack size on windows.
1 parent f0e8c63 commit 6d02408

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.zig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ pub fn build(b: *std.Build) void {
8282
.target = b.graph.host,
8383
.optimize = .Debug,
8484
});
85+
86+
if (b.graph.host.result.os.tag == .windows) {
87+
qjsc_host.stack_size = 8388608;
88+
}
89+
8590
qjsc_host.addCSourceFiles(.{
8691
.files = &.{"qjsc.c"},
8792
.flags = cflags,

0 commit comments

Comments
 (0)