You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: RELEASES.md
+10-17
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Libraries
22
22
23
23
- [`ManuallyDrop<T>` is now documented to have the same layout as `T`][88375]
24
24
- [`#[ignore = "…"]` messages are printed when running tests][92714]
25
-
- [Consistently present absent stdio handles on Windows as NULL handles][93263]
25
+
- [Consistently show absent stdio handles on Windows as NULL handles][93263]
26
26
- [Make `std::io::stdio::lock()` return `'static` handles.][93965] Previously, the creation of locked handles to stdin/stdout/stderr would borrow the handles being locked, which prevented writing `let out = std::io::stdout().lock();` because `out` would outlive the return value of `stdout()`. Such code now works, eliminating a common pitfall that affected many Rust users.
27
27
- [`Vec::from_raw_parts` is now less restrictive about its inputs][95016]
28
28
- [`std::thread::available_parallelism` now takes cgroup quotas into account.][92697] Since `available_parallelism` is often used to create a thread pool for parallel computation, which may be CPU-bound for performance, `available_parallelism` will return a value consistent with the ability to use that many threads continuously, if possible. For instance, in a container with 8 virtual CPUs but quotas only allowing for 50% usage, `available_parallelism` will return 4.
@@ -41,15 +41,15 @@ Stabilized APIs
41
41
42
42
These APIs are now usable in const contexts:
43
43
44
-
- [`*const T::offset` and `*mut T::offset`][ptr-offset]
45
-
- [`*const T::wrapping_offset` and `*mut T::wrapping_offset`][ptr-wrapping_offset]
46
-
- [`*const T::add` and `*mut T::add`][ptr-add]
47
-
- [`*const T::sub` and `*mut T::sub`][ptr-sub]
48
-
- [`*const T::wrapping_add` and `*mut T::wrapping_add`][ptr-wrapping_add]
49
-
- [`*const T::wrapping_sub` and `*mut T::wrapping_sub`][ptr-wrapping_sub]
0 commit comments