#stack #overflow #cause

app stackoverflow

Example program that causes stack overflow

1 unstable release

0.1.0 Mar 27, 2022

#16 in #overflow

MIT license

2KB

$ ./target/debug/stackoverflow
main(1)
main(2)
main(3)
...
main(34913)


thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted

Dependencies

~11KB