Uh oh!
There was an error while loading. Please reload this page.
Updated RELEASES.md for 1.23.0 - #46327
Conversation
rust-highfive
commented
Nov 28, 2017
(rust_highfive has picked a reviewer for you, use r? to override) |
| Misc | ||
| ---- | ||
| - [Releases now ship with the Cargo book documentation.][45692] |
There was a problem hiding this comment.
This might have to get yanked if #46195 isn't resolved
| small files reduce the number of syscalls. | ||
| Stabilized APIs | ||
| --------------- |
There was a problem hiding this comment.
APIs marked as since = "1.23":
impl FromIterator<()> for ()(impl FromIterator<()> for () #45379)
| wide characters.][45711] | ||
| - [rustc now uses subtyping on the left hand side of binary operations.][45435] | ||
| Which should fix some confusing errors in some operations. | ||
| - [Bumped the minimum LLVM to 3.9][45326] |
There was a problem hiding this comment.
This may better be a compatibility note?
| - [Upgraded Android SDK to 27, and NDK to r15c.][45580] This drops support for | ||
| Android 9, the minimum supported version is Android 14. | ||
| - [Refactored type memory layouts and ABIs.][45225] This reduce code generated | ||
| for a lot of types. |
There was a problem hiding this comment.
| Compiler | ||
| -------- | ||
| - [Enabled `TrapUnreachable` in LLVM which should prevent some cases of | ||
| undefined behaviour.][45920] |
There was a problem hiding this comment.
It would be more accurate to say that it mitigates the impact of the UB. This change doesn't make any programs defined that were previously UB, it just makes it more likely they trap at runtime instead of executing arbitrary code.
mark-i-m
commented
Nov 28, 2017
Woah... this is going to be a very large release if those are all release notes from the first week... |
steveklabnik
commented
Nov 28, 2017
@mark-i-m no, they're from the previous six-week cycle; remember that we have the train model, so master is 1.24. |
| Libraries | ||
| --------- | ||
| - [impl `From<T>` for `Mutex<T>` and `RwLock<T>`][46082] | ||
| - [Allow a trailling comma in `assert_eq/ne` macro][45887] |
| for `AtomicU8`. | ||
| - [Removed the `T: Sync` requirement for `RwLock<T>: Send`][45267] | ||
| - [Removed `T: Sized` requirement for `<*const T>::as_ref` | ||
| and `<*const T>::as_mut`][44932] |
There was a problem hiding this comment.
This should be <*const T>::as_ref, <*mut T>::as_ref, and <*mut T>::as_mut.
(and not <*const T>::as_mut)
| Language | ||
| -------- | ||
| - [Fixed displaying duplicate errors on some trait bounds.][45772] |
There was a problem hiding this comment.
#45772is a language change - arbitrary auto traits are permitted in trait objects, but not displaying duplicate errors is not a language change.
| - [rustc now suggests renaming import if names clash.][45660] | ||
| - [Display errors/warnings correctly when there are zero-width or | ||
| wide characters.][45711] | ||
| - [rustc now uses subtyping on the left hand side of binary operations.][45435] |
There was a problem hiding this comment.
This is kind of language change.
| - [Implement Hash for raw pointers to unsized types][45483] | ||
| - [impl `From<*mut T>` for `AtomicPtr<T>`][45610] | ||
| - [impl `From<{number_size}>` for `Atomic{number_size}`][45610] eg. `From<u8>` | ||
| for `AtomicU8`. |
There was a problem hiding this comment.
AtomicU8 isn't stable. This should only mention AtomicUsize and AtomicIsize.
| Compatibility Notes | ||
| ------------------- | ||
| - [`fmt::Arguments` can no longer be shared across threads.][45198] |
There was a problem hiding this comment.
This didn't make it into 1.23.0.
| Libraries | ||
| --------- | ||
| - [impl `From<T>` for `Mutex<T>` and `RwLock<T>`][46082] |
There was a problem hiding this comment.
This didn't make it into 1.23.0.
| - [Optimized `Thread::{park, unpark}` implementation][45524] | ||
| - [Improved `SliceExt::binary_search` performance.][45333] | ||
| - [Optimized `Read::read_to_end`.][46050] This increase file read speed and for | ||
| small files reduce the number of syscalls. |
There was a problem hiding this comment.
This didn't make it into 1.23.0.
| in rare cases this could break some code.][45853] [Tracking issue for | ||
| further information][45852] | ||
| - [Changed how closures are stored, as a result of this change you can no longer | ||
| have a situation where a closure directly calls itself.][45879] |
There was a problem hiding this comment.
This didn't make it into 1.23.0.
| small files reduce the number of syscalls. | ||
| Stabilized APIs | ||
| --------------- |
alexcrichton
commented
Dec 8, 2017
Oh one important thing to call out maybe is that we're turning on 16 codegen units by default in debug builds, which should bring some nice parallellism wins to debug builds! (aka faster debug builds) |
| - [rustc now avoids unnecessary copies of arguments that are | ||
| simple bindings][45380] This should improve memory usage on average by 5-10%. | ||
| - [Updated musl used to build musl rustc to 1.1.17][45393] | ||
| - [Refactored type memory layouts and ABIs.][45225] This will reduce |
alexcrichton
commented
Dec 29, 2017
With the release going out soon, let's merge! @bors: r+ |
bors
commented
Dec 29, 2017
📌 Commit a1438b7 has been approved by |
XAMPPRocky
commented
Dec 29, 2017
@alexcrichton I haven't added the note about 16 codegen units, I can't seem to find the PR that merges that in? |
bors
commented
Dec 29, 2017
⌛ Testing commit a1438b7 with merge 19c656bf224f689401437b0e3ce7dd2da8d3abb6... |
alexcrichton
commented
Dec 29, 2017
bors
commented
Dec 29, 2017
💔 Test failed - status-travis |
kennytm
commented
Dec 29, 2017
|
Updated RELEASES.md for 1.23.0 [Rendered](https://github.com/Aaronepower/rust/blob/master/RELEASES.md)
bors
commented
Dec 29, 2017
bors
commented
Dec 29, 2017
☀️ Test successful - status-appveyor, status-travis |
Rendered