-
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
odd issue with #fmt and floats #1388
Comments
There is definitely something weird going on. Probably some memory corruption somewhere. Here's another example:
Prints out this scary message:
Even spookier, if you comment out one of the
Prints out:
|
This is stack-growth related. The bug goes away when you run with RUST_MIN_STACK=0x1000 ./testcase Will dig into why that is true tomorrow. |
bjorn3
added a commit
to bjorn3/rust
that referenced
this issue
Aug 9, 2023
Pass `preserve_frame_pointers` to Cranelift
Kobzol
pushed a commit
to Kobzol/rust
that referenced
this issue
Dec 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've run into a rather weird error with #fmt and floats:
Incorrectly prints out
0
. But if we instead write:It prints out:
The text was updated successfully, but these errors were encountered: