$ rustc -vV
rustc 1.96.0 (ac68faa20 2026-05-25)
binary: rustc
commit-hash: ac68faa20c58cbccd01ee7208bf3b6e93a7d7f96
commit-date: 2026-05-25
host: aarch64-unknown-linux-gnu
release: 1.96.0
LLVM version: 22.1.2
$ cargo test --test cli -- tests/cli/component-model/very-nested.wast
[...]
thread '<unknown>' (2755691) has overflowed its stack
fatal runtime error: stack overflow, aborting
[...]
$ RUST_MIN_STACK=3000000 cargo test --test cli -- tests/cli/component-model/very-nested.wast
[...]
test result: ok ...
I can also get the test to pass by setting MAX_PARENS_DEPTH from 100 to...99. 😂
This happens to be a Linux VM on a Mac if that makes any difference.
I can also get the test to pass by setting
MAX_PARENS_DEPTHfrom 100 to...99. 😂This happens to be a Linux VM on a Mac if that makes any difference.