Skip to content

Commit

Permalink
increase Emscripten stack size (fixes #82)
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Sep 17, 2024
1 parent 1375ac7 commit c5bdb50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ fn buildExample(b: *Build, comptime name: []const u8, options: ExampleOptions) !
.use_emmalloc = true,
.use_filesystem = false,
.shell_file_path = b.path("src/sokol/web/shell.html"),
.extra_args = &.{"-sSTACK_SIZE=512KB"},
});
// ...and a special run step to run the build result via emrun
run = emRunStep(b, .{ .name = name, .emsdk = options.emsdk });
Expand Down

0 comments on commit c5bdb50

Please sign in to comment.