-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
rust-lang/rust
#66726Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
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.
jyn514
Metadata
Metadata
Assignees
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement