-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
#fmt float broken on Ubuntu Precise #1372
Labels
O-linux
Operating system: Linux
Comments
Is "%f" really defined as "%.2f" in Rust? I am asking because C, Ruby and Python define "%f" as "%.6f". |
We should endeavor to do the same thing as glibc's printf. Filed a separate issue for that #1375 |
This seems have been fixed by 5fd0a3b. |
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
My latest change to handling panic messages actually broke `unreachable` macro. The main issue was the wrong position of a parenthesis and the fact that we didn't have tests that covered that specific case of the macro. One thing I haven't figured out yet is how to trigger an error if the user code uses edition 2021+ and has the following construct: ```rust let msg = "blah"; panic!(msg); ``` This is actually an error in 2021+, but the macro override that we perform accepts that no matter the edition.
Kobzol
pushed a commit
to Kobzol/rust
that referenced
this issue
Dec 30, 2024
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assert failed on Ubuntu Precise x86_64. Works fine on another Ubuntu 11.04 (i386).
The text was updated successfully, but these errors were encountered: