Skip to content

Commit

Permalink
don't set stack-size if not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Feb 3, 2025
1 parent a1a74af commit e6c9953
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/gen_node_wrapper_per_profile.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
let profile = Sys.argv.(1)

let () =
match profile with
| "with-effects-double-translation" ->
(* We somehow need a larger stack with --effects=double-translation. *)
print_endline {|
let args = [ "--stack-size=3000" ]
|}
| _ -> print_endline {|
let args = [ ]
|}

0 comments on commit e6c9953

Please sign in to comment.