Skip to content

Commit 9d1ff1f

Browse files
authored
fix(compiler): Increase JS stack size (#1532)
1 parent 8782656 commit 9d1ff1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/bin/grain.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const v8 = require("v8");
1111
* This seems to work for our needs with Node 16, but we should be cautious when updating.
1212
*/
1313
v8.setFlagsFromString("--experimental-wasm-return-call");
14+
// TODO(#1580): Remove this flag
15+
v8.setFlagsFromString("--stack-size=2048");
1416

1517
const commander = require("commander");
1618
const exec = require("./exec.js");

0 commit comments

Comments
 (0)