Skip to content

Commit d2778f7

Browse files
committed
Add 1.62.1 and 1.63 release notes
1 parent 82bf341 commit d2778f7

File tree

1 file changed

+208
-0
lines changed

1 file changed

+208
-0
lines changed

RELEASES.md

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,211 @@
1+
Version 1.63.0 (2022-08-11)
2+
==========================
3+
4+
Language
5+
--------
6+
- [Remove migrate borrowck mode for pre-NLL errors.][95565]
7+
- [Modify MIR building to drop repeat expressions with length zero.][95953]
8+
- [Remove label/lifetime shadowing warnings.][96296]
9+
- [Allow explicit generic arguments in the presence of `impl Trait` args.][96868]
10+
- [Make `cenum_impl_drop_cast` warnings deny-by-default.][97652]
11+
- [Prevent unwinding when `-C panic=abort` is used regardless of declared ABI.][96959]
12+
- [lub: don't bail out due to empty binders.][97867]
13+
14+
Compiler
15+
--------
16+
- [Stabilize the `bundle` native library modifier,][95818] also removing the
17+
deprecated `static-nobundle` linking kind.
18+
- [Add Apple WatchOS compile targets\*.][95243]
19+
- [Add a Windows application manifest to rustc-main.][96737]
20+
21+
\* Refer to Rust's [platform support page][platform-support-doc] for more
22+
information on Rust's tiered platform support.
23+
24+
Libraries
25+
---------
26+
- [Implement `Copy`, `Clone`, `PartialEq` and `Eq` for `core::fmt::Alignment`.][94530]
27+
- [Extend `ptr::null` and `null_mut` to all thin (including extern) types.][94954]
28+
- [`impl Read and Write for VecDeque<u8>`.][95632]
29+
- [STD support for the Nintendo 3DS.][95897]
30+
- [Use rounding in float to Duration conversion methods.][96051]
31+
- [Make write/print macros eagerly drop temporaries.][96455]
32+
- [Implement internal traits that enable `[OsStr]::join`.][96881]
33+
- [Implement `Hash` for `core::alloc::Layout`.][97034]
34+
- [Add capacity documentation for `OsString`.][97202]
35+
- [Put a bound on collection misbehavior.][97316]
36+
- [Make `std::mem::needs_drop` accept `?Sized`.][97675]
37+
- [`impl Termination for Infallible` and then make the `Result` impls of `Termination` more generic.][97803]
38+
- [Document Rust's stance on `/proc/self/mem`.][97837]
39+
40+
Stabilized APIs
41+
---------------
42+
43+
- [`array::from_fn`]
44+
- [`Box::into_pin`]
45+
- [`BinaryHeap::try_reserve`]
46+
- [`BinaryHeap::try_reserve_exact`]
47+
- [`OsString::try_reserve`]
48+
- [`OsString::try_reserve_exact`]
49+
- [`PathBuf::try_reserve`]
50+
- [`PathBuf::try_reserve_exact`]
51+
- [`Path::try_exists`]
52+
- [`Ref::filter_map`]
53+
- [`RefMut::filter_map`]
54+
- [`NonNull::<[T]>::len`][`NonNull::<slice>::len`]
55+
- [`ToOwned::clone_into`]
56+
- [`Ipv6Addr::to_ipv4_mapped`]
57+
- [`unix::io::AsFd`]
58+
- [`unix::io::BorrowedFd<'fd>`]
59+
- [`unix::io::OwnedFd`]
60+
- [`windows::io::AsHandle`]
61+
- [`windows::io::BorrowedHandle<'handle>`]
62+
- [`windows::io::OwnedHandle`]
63+
- [`windows::io::HandleOrInvalid`]
64+
- [`windows::io::HandleOrNull`]
65+
- [`windows::io::InvalidHandleError`]
66+
- [`windows::io::NullHandleError`]
67+
- [`windows::io::AsSocket`]
68+
- [`windows::io::BorrowedSocket<'handle>`]
69+
- [`windows::io::OwnedSocket`]
70+
- [`thread::scope`]
71+
- [`thread::Scope`]
72+
- [`thread::ScopedJoinHandle`]
73+
74+
These APIs are now usable in const contexts:
75+
76+
- [`array::from_ref`]
77+
- [`slice::from_ref`]
78+
- [`intrinsics::copy`]
79+
- [`intrinsics::copy_nonoverlapping`]
80+
- [`<*const T>::copy_to`]
81+
- [`<*const T>::copy_to_nonoverlapping`]
82+
- [`<*mut T>::copy_to`]
83+
- [`<*mut T>::copy_to_nonoverlapping`]
84+
- [`<*mut T>::copy_from`]
85+
- [`<*mut T>::copy_from_nonoverlapping`]
86+
- [`str::from_utf8`]
87+
- [`Utf8Error::error_len`]
88+
- [`Utf8Error::valid_up_to`]
89+
- [`Condvar::new`]
90+
- [`Mutex::new`]
91+
- [`RwLock::new`]
92+
93+
Cargo
94+
-----
95+
- [Stabilize the `--config path` command-line argument.][cargo/10755]
96+
- [Expose rust-version in the environment as `CARGO_PKG_RUST_VERSION`.][cargo/10713]
97+
98+
Compatibility Notes
99+
-------------------
100+
101+
- [`#[link]` attributes are now checked more strictly,][96885] which may introduce
102+
errors for invalid attribute arguments that were previously ignored.
103+
- [Rounding is now used when converting a float to a `Duration`.][96051] The converted
104+
duration can differ slightly from what it was.
105+
106+
Internal Changes
107+
----------------
108+
109+
These changes provide no direct user facing benefits, but represent significant
110+
improvements to the internals and overall performance of rustc
111+
and related tools.
112+
113+
- [Prepare Rust for LLVM opaque pointers.][94214]
114+
115+
[94214]: https://github.com/rust-lang/rust/pull/94214/
116+
[94530]: https://github.com/rust-lang/rust/pull/94530/
117+
[94954]: https://github.com/rust-lang/rust/pull/94954/
118+
[95243]: https://github.com/rust-lang/rust/pull/95243/
119+
[95565]: https://github.com/rust-lang/rust/pull/95565/
120+
[95632]: https://github.com/rust-lang/rust/pull/95632/
121+
[95818]: https://github.com/rust-lang/rust/pull/95818/
122+
[95897]: https://github.com/rust-lang/rust/pull/95897/
123+
[95953]: https://github.com/rust-lang/rust/pull/95953/
124+
[96051]: https://github.com/rust-lang/rust/pull/96051/
125+
[96296]: https://github.com/rust-lang/rust/pull/96296/
126+
[96455]: https://github.com/rust-lang/rust/pull/96455/
127+
[96737]: https://github.com/rust-lang/rust/pull/96737/
128+
[96868]: https://github.com/rust-lang/rust/pull/96868/
129+
[96881]: https://github.com/rust-lang/rust/pull/96881/
130+
[96885]: https://github.com/rust-lang/rust/pull/96885/
131+
[96959]: https://github.com/rust-lang/rust/pull/96959/
132+
[97034]: https://github.com/rust-lang/rust/pull/97034/
133+
[97202]: https://github.com/rust-lang/rust/pull/97202/
134+
[97316]: https://github.com/rust-lang/rust/pull/97316/
135+
[97652]: https://github.com/rust-lang/rust/pull/97652/
136+
[97675]: https://github.com/rust-lang/rust/pull/97675/
137+
[97803]: https://github.com/rust-lang/rust/pull/97803/
138+
[97837]: https://github.com/rust-lang/rust/pull/97837/
139+
[97867]: https://github.com/rust-lang/rust/pull/97867/
140+
[cargo/10713]: https://github.com/rust-lang/cargo/pull/10713/
141+
[cargo/10755]: https://github.com/rust-lang/cargo/pull/10755/
142+
143+
[`array::from_fn`]: https://doc.rust-lang.org/stable/std/array/fn.from_fn.html
144+
[`Box::into_pin`]: https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_pin
145+
[`BinaryHeap::try_reserve_exact`]: https://doc.rust-lang.org/stable/alloc/collections/binary_heap/struct.BinaryHeap.html#method.try_reserve_exact
146+
[`BinaryHeap::try_reserve`]: https://doc.rust-lang.org/stable/std/collections/struct.BinaryHeap.html#method.try_reserve
147+
[`OsString::try_reserve`]: https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve
148+
[`OsString::try_reserve_exact`]: https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve_exact
149+
[`PathBuf::try_reserve`]: https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve
150+
[`PathBuf::try_reserve_exact`]: https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve_exact
151+
[`Path::try_exists`]: https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.try_exists
152+
[`Ref::filter_map`]: https://doc.rust-lang.org/stable/std/cell/struct.Ref.html#method.filter_map
153+
[`RefMut::filter_map`]: https://doc.rust-lang.org/stable/std/cell/struct.RefMut.html#method.filter_map
154+
[`NonNull::<slice>::len`]: https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.len
155+
[`ToOwned::clone_into`]: https://doc.rust-lang.org/stable/std/borrow/trait.ToOwned.html#method.clone_into
156+
[`Ipv6Addr::to_ipv4_mapped`]: https://doc.rust-lang.org/stable/std/net/struct.Ipv6Addr.html#method.to_ipv4_mapped
157+
[`unix::io::AsFd`]: https://doc.rust-lang.org/stable/std/os/unix/io/trait.AsFd.html
158+
[`unix::io::BorrowedFd<'fd>`]: https://doc.rust-lang.org/stable/std/os/unix/io/struct.BorrowedFd.html
159+
[`unix::io::OwnedFd`]: https://doc.rust-lang.org/stable/std/os/unix/io/struct.OwnedFd.html
160+
[`windows::io::AsHandle`]: https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsHandle.html
161+
[`windows::io::BorrowedHandle<'handle>`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedHandle.html
162+
[`windows::io::OwnedHandle`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedHandle.html
163+
[`windows::io::HandleOrInvalid`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrInvalid.html
164+
[`windows::io::HandleOrNull`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrNull.html
165+
[`windows::io::InvalidHandleError`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.InvalidHandleError.html
166+
[`windows::io::NullHandleError`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.NullHandleError.html
167+
[`windows::io::AsSocket`]: https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsSocket.html
168+
[`windows::io::BorrowedSocket<'handle>`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedSocket.html
169+
[`windows::io::OwnedSocket`]: https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedSocket.html
170+
[`thread::scope`]: https://doc.rust-lang.org/stable/std/thread/fn.scope.html
171+
[`thread::Scope`]: https://doc.rust-lang.org/stable/std/thread/struct.Scope.html
172+
[`thread::ScopedJoinHandle`]: https://doc.rust-lang.org/stable/std/thread/struct.ScopedJoinHandle.html
173+
174+
[`array::from_ref`]: https://doc.rust-lang.org/stable/std/array/fn.from_ref.html
175+
[`slice::from_ref`]: https://doc.rust-lang.org/stable/std/slice/fn.from_ref.html
176+
[`intrinsics::copy`]: https://doc.rust-lang.org/stable/std/intrinsics/fn.copy.html
177+
[`intrinsics::copy_nonoverlapping`]: https://doc.rust-lang.org/stable/std/intrinsics/fn.copy_nonoverlapping.html
178+
[`<*const T>::copy_to`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to
179+
[`<*const T>::copy_to_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping
180+
[`<*mut T>::copy_to`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to-1
181+
[`<*mut T>::copy_to_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping-1
182+
[`<*mut T>::copy_from`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from
183+
[`<*mut T>::copy_from_nonoverlapping`]: https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from_nonoverlapping
184+
[`str::from_utf8`]: https://doc.rust-lang.org/stable/std/str/fn.from_utf8.html
185+
[`Utf8Error::error_len`]: https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.error_len
186+
[`Utf8Error::valid_up_to`]: https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.valid_up_to
187+
[`Condvar::new`]: https://doc.rust-lang.org/stable/std/sync/struct.Condvar.html#method.new
188+
[`Mutex::new`]: https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.new
189+
[`RwLock::new`]: https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.new
190+
191+
Version 1.62.1 (2022-07-19)
192+
==========================
193+
194+
Rust 1.62.1 addresses a few recent regressions in the compiler and standard
195+
library, and also mitigates a CPU vulnerability on Intel SGX.
196+
197+
* [The compiler fixed unsound function coercions involving `impl Trait` return types.][98608]
198+
* [The compiler fixed an incremental compilation bug with `async fn` lifetimes.][98890]
199+
* [Windows added a fallback for overlapped I/O in synchronous reads and writes.][98950]
200+
* [The `x86_64-fortanix-unknown-sgx` target added a mitigation for the
201+
MMIO stale data vulnerability][98126], advisory [INTEL-SA-00615].
202+
203+
[98608]: https://github.com/rust-lang/rust/issues/98608
204+
[98890]: https://github.com/rust-lang/rust/issues/98890
205+
[98950]: https://github.com/rust-lang/rust/pull/98950
206+
[98126]: https://github.com/rust-lang/rust/pull/98126
207+
[INTEL-SA-00615]: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00615.html
208+
1209
Version 1.62.0 (2022-06-30)
2210
==========================
3211

0 commit comments

Comments
 (0)