-
Notifications
You must be signed in to change notification settings - Fork 470
Should be able to change stack limit #643
Copy link
Copy link
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
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
Type
Fields
Give feedbackNo fields configured for issues without a type.
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 --helpit says:After adding
#![cfg_attr(miri, stack_limit = 100000)]to my
lib.rsI get "stack limit reached error" at the same depth.