☰
Debian Codegraph
@
1.239.0+ds-9
1.239.0+ds-10
/
/
crates
/
wast
/
tests
/
recursive.rs
☽
☼
crates/wast/tests/recursive.rs
code
plain
raw
Apache-2.0 or Apache-2.0 with LLVM exception or
Expat
2017-2020, 2024 Mozilla Foundation; The Wasmtime Project Developers
debian/copyright
1
#[test]
2
fn no_stack_overflow() {
3
let mut s = format!("(module (func \n");
4
for _ in 0..10_000 {
5
s.push_str("(i32.add\n");
6
}
7
assert!(wat::parse_str(&s).is_err());
8
}