-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update RELEASES.md for 1.24.0 #47286
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Compatibility: #47084 |
Library: stabilized calling existing const fns in libstd, namely:
|
RELEASES.md
Outdated
@@ -58,11 +58,17 @@ Compatibility Notes | |||
- [`Formatter::flags` method is now deprecated.][46284] The `sign_plus`, | |||
`sign_minus`, `alternate`, and `sign_aware_zero_pad` recommended | |||
to use instead. | |||
- [Leading zeros in typle struct members is now a error][47084] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typle
tupo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also “an error”.
Ping @Aaronepower, looks like there are some additions and corrections for you! |
@carols10cents Thanks, how should the stabilisation of the const fns be worded? Should it be something like "The following functions have now been made constant."? |
@Aaronepower I suggest “These functions can now be used in a constant expression, e.g. |
I suggest we mention "Floats Debug now always prints a decimal point." in the "Compatibility Notes" section since there are crates use
|
RELEASES.md
Outdated
Cargo | ||
----- | ||
- [Floating point types `Debug` impl now always prints a decimal point.][46831] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this cargo?
|
||
Compiler | ||
-------- | ||
- [rustc now uses 16 codegen units by default for release builds.][46910] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be worth explicitly mentioning that this can result in worse performing binaries (#47745) and that you need to start using codegen-units=1
for best performance.
212ebbf
to
28b39f5
Compare
Updated release notes and I think we're good to go. @bors r+ p=5 |
📌 Commit 28b39f5 has been approved by |
Update RELEASES.md for 1.24.0 [rendered](https://github.com/Aaronepower/rust/blob/master/RELEASES.md)
☀️ Test successful - status-appveyor, status-travis |
rendered