-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ice: stack overflow #116321
Comments
This code required at least 8 MiB of stack size before, now it requires more than 8 MiB, but less than 16 MiB ( |
This also causes some test code to no longer compile, |
I'm a bit worried that this will cause problems with crates that use large amounts of auto-generated code. :/ |
I wonder what to do about that though. I don't think that stack usage is a part of the Rust stability guarantees (?). And whether we want or not, it will eventually change organically, and make some programs stop compiling. I think that this is actually showing us more bugs in rustc, where manual stack growth is missing, and these should be fixed. We could also perhaps add some helper message to the stack overflow to guide people to use the env. var to increase stack size. |
Appears to be fixed in Rust 1.77 and newer. |
Code
from #93022
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: