Closed
Description
It is currently not possible to change the stack limit. It would be great to get that functionality back!
Original report
Maybe I'm doing something wrong, but I'm unable to set the stack limit for miri.
If I call cargo miri test --help
it says:
The config flag `miri` is automatically defined for convenience. You can use
it to configure the resource limits
#![cfg_attr(miri, memory_size = 42)]
available resource limits are `memory_size`, `step_limit`, `stack_limit`
After adding
#![cfg_attr(miri, stack_limit = 100000)]
to my lib.rs
I get "stack limit reached error" at the same depth.