From 66d8cad20ef8bb352e831c3f33f47a64bc775372 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 07 Apr 2024 13:20:24 +0000 Subject: [PATCH] feat: increase default stack size Stack depth measurement works differently in jrsonnet, yet old value was chosen based on golang, and when there was not much in regard to stack size optimization in jrsonnet. --- --- a/crates/jrsonnet-cli/src/lib.rs +++ b/crates/jrsonnet-cli/src/lib.rs @@ -32,7 +32,7 @@ pub struct MiscOpts { /// Maximal allowed number of stack frames, /// stack overflow error will be raised if this number gets exceeded. - #[clap(long, short = 's', default_value = "200")] + #[clap(long, short = 's', default_value = "512")] max_stack: usize, /// Library search dirs. (right-most wins) -- gitstuff