Reduce max call stack size for debug.

This commit is contained in:
Stephen Chung
2020-10-08 23:00:01 +08:00
parent 1272eeb81a
commit d511aac7a4
5 changed files with 8 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ pub type Imports = Vec<(ImmutableString, Module)>;
#[cfg(not(feature = "unchecked"))]
#[cfg(debug_assertions)]
pub const MAX_CALL_STACK_DEPTH: usize = 16;
pub const MAX_CALL_STACK_DEPTH: usize = 12;
#[cfg(not(feature = "unchecked"))]
#[cfg(debug_assertions)]
pub const MAX_EXPR_DEPTH: usize = 32;