Skip to content

Commit

Permalink
Run tests with a larger stack
Browse files Browse the repository at this point in the history
  • Loading branch information
vouillon committed Jan 29, 2025
1 parent 2fc5650 commit e9e9feb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/node_wrapper.ml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ let extra_args_for_wasoo =
; "--stack-size=10000"
]

let extra_args_for_jsoo = [ "--stack-size=3000" ]

let env = Unix.environment ()

let env =
Expand All @@ -28,7 +30,7 @@ let args =
match argv with
| file :: _ when Filename.check_suffix file ".wasm.js" ->
extra_args_for_wasoo @ argv
| _ -> argv
| _ -> extra_args_for_jsoo @ argv
in
Array.of_list (exe :: argv)
| [] -> assert false
Expand Down

0 comments on commit e9e9feb

Please sign in to comment.