From b0897ff2ee8346def3414c588fb7ae140efe0208 Mon Sep 17 00:00:00 2001 From: Erin Power Date: Mon, 28 Jun 2021 20:53:23 +0200 Subject: [PATCH 01/11] Update RELEASES.md for 1.54.0 --- RELEASES.md | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 128 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 35e5627e61ff8..bb2809cdfe944 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,130 @@ +Version 1.54.0 (2021-06-29) +============================ + +Language +----------------------- + +- [You can now use macros for values in key-value attributes.][83366] + While a seemingly minor addition on its own, this enables a lot of + powerful functionality when combined correctly. Most notably you can + now include external documentation in your crate by writing the following. + ```rust + #![doc = include_str!("README.md")] + ``` + +- [You can now cast between unsized slice types (and types which contain + unsized slices) in `const fn`.][85078] +- [TODO: stabilize member constraints][84701] + +Compiler +----------------------- + +- [Rustc will now search for custom JSON targets in + `/lib/rustlib//target.json` where `/` is the "sysroot" + directory.][83800] You can find your sysroot directory by running + `rustc --print sysroot`. +- [Added `wasm` as a `target_family` for WebAssembly platforms.][84072] +- [You can now use `#[target_feature]` on safe functions when targeting + WebAssembly platforms.][84988] +- [Improved debugger output for enums on Windows MSVC platorms.][85292] +- [Added tier 3\* support for `bpfel-unknown-none` + and `bpfeb-unknown-none`.][79608] +- [Added tier 3 support for `powerpc64le-unknown-freebsd`.][83572] + +Libraries +----------------------- + +- [You can now explicitly import the prelude of different editions + through `std::prelude`. (e.g. `use std::prelude::rust_2021::*;`)][86294] +- [`panic::panic_any` will now `#[track_caller]`.][85745] +- [Added `OutOfMemory` as a variant of `io::ErrorKind`.][84744] +- [ `proc_macro::Literal` now implements `FromStr`.][84717] +- [TODO: Bump stdarch submodule][83278] + +Stabilized APIs +--------------- + +- [`BTreeMap::into_keys`] +- [`BTreeMap::into_values`] +- [`HashMap::into_keys`] +- [`HashMap::into_values`] +- [`MaybeUninit::assume_init_mut`] +- [`MaybeUninit::assume_init_ref`] +- [`arch::wasm32`] +- [`arch::x86::_bittest`] +- [`arch::x86::_bittestandcomplement`] +- [`arch::x86::_bittestandset`] +- [`arch::x86_64::_bittest`] +- [`arch::x86_64::_bittestandcomplement64`] +- [`arch::x86_64::_bittestandcomplement`] +- [`arch::x86_64::_bittestandreset64`] +- [`arch::x86_64::_bittestandset64`] +- [`arch::x86_64::_bittestandset`] +- [`ops::ControlFlow`] +- [`VecDeque::binary_search`] +- [`VecDeque::binary_search_by`] +- [`VecDeque::binary_search_by_key`] +- [`VecDeque::partition_point`] + +Cargo +----------------------- + +- [Added the `--prune ` option to `cargo-tree` to remove a package from + the dependency graph.][cargo/9520] +- [Added the `--depth` option to `cargo-tree` to print only to a certain depth + in the tree ][cargo/9499] +- [Added the `no-proc-macro` value to `cargo-tree --edges` to hide procedural + macro dependencies.][cargo/9488] +- [A new environment variable named `CARGO_TARGET_TMPDIR` is available.][cargo/9375] + This variable points to a directory that integration tests and benches + can use as a "scratchpad" for testing filesystem operations. +- [Configure hosts separately from targets when --target is specified.][cargo/9322] +- [Respect Cargo.toml `[package.exclude]` even not in a git repo.][cargo/9186] + +[79608]: https://github.com/rust-lang/rust/pull/79608 +[84988]: https://github.com/rust-lang/rust/pull/84988 +[84701]: https://github.com/rust-lang/rust/pull/84701 +[84072]: https://github.com/rust-lang/rust/pull/84072 +[86294]: https://github.com/rust-lang/rust/pull/86294 +[85745]: https://github.com/rust-lang/rust/pull/85745 +[84744]: https://github.com/rust-lang/rust/pull/84744 +[85078]: https://github.com/rust-lang/rust/pull/85078 +[84717]: https://github.com/rust-lang/rust/pull/84717 +[83800]: https://github.com/rust-lang/rust/pull/83800 +[83366]: https://github.com/rust-lang/rust/pull/83366 +[83278]: https://github.com/rust-lang/rust/pull/83278 +[85292]: https://github.com/rust-lang/rust/pull/85292 +[83572]: https://github.com/rust-lang/rust/pull/83572 +[cargo/9520]: https://github.com/rust-lang/cargo/pull/9520 +[cargo/9499]: https://github.com/rust-lang/cargo/pull/9499 +[cargo/9488]: https://github.com/rust-lang/cargo/pull/9488 +[cargo/9375]: https://github.com/rust-lang/cargo/pull/9375 +[cargo/9322]: https://github.com/rust-lang/cargo/pull/9322 +[cargo/9186]: https://github.com/rust-lang/cargo/pull/9186 +[`arch::x86::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittest.html +[`arch::x86::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandcomplement.html +[`arch::x86::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandset.html +[`arch::x86_64::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittest.html +[`arch::x86_64::_bittestandcomplement64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement64.html +[`arch::x86_64::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement.html +[`arch::x86_64::_bittestandreset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandreset64.html +[`arch::x86_64::_bittestandset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset64.html +[`arch::x86_64::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset.html +[`BTreeMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_keys +[`BTreeMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_values +[`HashMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_keys +[`HashMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_values +[`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_ref +[`MaybeUninit::assume_init_mut`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_mut +[`arch::wasm32`]: https://doc.rust-lang.org/core/arch/wasm32/index.html +[`ops::ControlFlow`]: https://doc.rust-lang.org/std/ops/enum.ControlFlow.html +[`VecDeque::binary_search`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search +[`VecDeque::binary_search_by`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search_by + +[`VecDeque::binary_search_by_key`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search_by_key + +[`VecDeque::partition_point`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.partition_point + Version 1.53.0 (2021-06-17) ============================ @@ -1749,7 +1876,7 @@ Language - [You can now use `#[repr(transparent)]` on univariant `enum`s.][68122] Meaning that you can create an enum that has the exact layout and ABI of the type it contains. -- [You can now use outer attribute procedural macros on inline modules.][64273] +- [You can now use outer attribute procedural macros on inline modules.][64273] - [There are some *syntax-only* changes:][67131] - `default` is syntactically allowed before items in `trait` definitions. - Items in `impl`s (i.e. `const`s, `type`s, and `fn`s) may syntactically From 6d4161bb16c9333212bbd137db4d9a59d2f9aef4 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Tue, 29 Jun 2021 13:26:14 +0200 Subject: [PATCH 02/11] Update RELEASES.md Co-authored-by: Michael <5672750+mibac138@users.noreply.github.com> --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index bb2809cdfe944..3a8a20fcca1d4 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -26,7 +26,7 @@ Compiler - [Added `wasm` as a `target_family` for WebAssembly platforms.][84072] - [You can now use `#[target_feature]` on safe functions when targeting WebAssembly platforms.][84988] -- [Improved debugger output for enums on Windows MSVC platorms.][85292] +- [Improved debugger output for enums on Windows MSVC platforms.][85292] - [Added tier 3\* support for `bpfel-unknown-none` and `bpfeb-unknown-none`.][79608] - [Added tier 3 support for `powerpc64le-unknown-freebsd`.][83572] From 283080ee9c418b2f4af67cb18f574286f3d402d2 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Tue, 29 Jun 2021 13:26:26 +0200 Subject: [PATCH 03/11] Update RELEASES.md Co-authored-by: Joshua Nelson --- RELEASES.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index 3a8a20fcca1d4..1056359ec8010 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -11,6 +11,11 @@ Language ```rust #![doc = include_str!("README.md")] ``` + You can also use this to include auto-generated modules: + ```rust + #[path = concat!(env!("OUT_DIR"), "/generated.rs")] + mod generated; + ``` - [You can now cast between unsized slice types (and types which contain unsized slices) in `const fn`.][85078] From 2c489be26e52221ee60b95cf1da7e85265460cec Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Tue, 29 Jun 2021 13:27:19 +0200 Subject: [PATCH 04/11] Update RELEASES.md Co-authored-by: Jeff Parsons --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 1056359ec8010..d24ad5447ab74 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,4 +1,4 @@ -Version 1.54.0 (2021-06-29) +Version 1.54.0 (2021-07-29) ============================ Language From 3b16b6ee3c6c1d9e3c2430ca997a9f6fe195aefd Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Tue, 29 Jun 2021 13:28:15 +0200 Subject: [PATCH 05/11] Update RELEASES.md --- RELEASES.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index d24ad5447ab74..cc9634ca52913 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -83,8 +83,6 @@ Cargo - [A new environment variable named `CARGO_TARGET_TMPDIR` is available.][cargo/9375] This variable points to a directory that integration tests and benches can use as a "scratchpad" for testing filesystem operations. -- [Configure hosts separately from targets when --target is specified.][cargo/9322] -- [Respect Cargo.toml `[package.exclude]` even not in a git repo.][cargo/9186] [79608]: https://github.com/rust-lang/rust/pull/79608 [84988]: https://github.com/rust-lang/rust/pull/84988 @@ -104,8 +102,6 @@ Cargo [cargo/9499]: https://github.com/rust-lang/cargo/pull/9499 [cargo/9488]: https://github.com/rust-lang/cargo/pull/9488 [cargo/9375]: https://github.com/rust-lang/cargo/pull/9375 -[cargo/9322]: https://github.com/rust-lang/cargo/pull/9322 -[cargo/9186]: https://github.com/rust-lang/cargo/pull/9186 [`arch::x86::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittest.html [`arch::x86::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandcomplement.html [`arch::x86::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandset.html From 17d60329d318d4a70c7820458cf0715d1f617520 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Wed, 7 Jul 2021 14:10:20 +0200 Subject: [PATCH 06/11] Update RELEASES.md --- RELEASES.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index cc9634ca52913..fd3d50b54fded 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -19,7 +19,10 @@ Language - [You can now cast between unsized slice types (and types which contain unsized slices) in `const fn`.][85078] -- [TODO: stabilize member constraints][84701] +- [You can now use multiple generic lifetimes with `impl Trait` where the + lifetimes don't explicitly outlive another.][84701] In code this means + that you can now have `impl Trait<'a, 'b>` where as before you could + only have `impl Trait<'a, 'b: 'a>`. Compiler ----------------------- @@ -44,7 +47,12 @@ Libraries - [`panic::panic_any` will now `#[track_caller]`.][85745] - [Added `OutOfMemory` as a variant of `io::ErrorKind`.][84744] - [ `proc_macro::Literal` now implements `FromStr`.][84717] -- [TODO: Bump stdarch submodule][83278] +- [The implementations of vendor intrinsics in core::arch have been + significantly refactored.][83278] The main user-visible changes are + a 50% reduction in the size of libcore.rlib and stricter validation + of constant operands passed to intrinsics. The latter is technically + a breaking change, but allows Rust to more closely match the C vendor + intrinsics API. Stabilized APIs --------------- From 10ac14194190b6ae6583cc7962c4382640aafcb1 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Wed, 7 Jul 2021 14:13:06 +0200 Subject: [PATCH 07/11] Update RELEASES.md --- RELEASES.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index fd3d50b54fded..6af99f1674c2a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -39,6 +39,9 @@ Compiler and `bpfeb-unknown-none`.][79608] - [Added tier 3 support for `powerpc64le-unknown-freebsd`.][83572] +\* Refer to Rust's [platform support page][platform-support-doc] for more + information on Rust's tiered platform support. + Libraries ----------------------- From af0b8553fef18213e7d8f090028712430643e291 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Fri, 23 Jul 2021 13:06:23 +0200 Subject: [PATCH 08/11] Update RELEASES.md --- RELEASES.md | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 6af99f1674c2a..8485dd5c02336 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -37,7 +37,6 @@ Compiler - [Improved debugger output for enums on Windows MSVC platforms.][85292] - [Added tier 3\* support for `bpfel-unknown-none` and `bpfeb-unknown-none`.][79608] -- [Added tier 3 support for `powerpc64le-unknown-freebsd`.][83572] \* Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support. @@ -45,8 +44,6 @@ Compiler Libraries ----------------------- -- [You can now explicitly import the prelude of different editions - through `std::prelude`. (e.g. `use std::prelude::rust_2021::*;`)][86294] - [`panic::panic_any` will now `#[track_caller]`.][85745] - [Added `OutOfMemory` as a variant of `io::ErrorKind`.][84744] - [ `proc_macro::Literal` now implements `FromStr`.][84717] @@ -64,19 +61,7 @@ Stabilized APIs - [`BTreeMap::into_values`] - [`HashMap::into_keys`] - [`HashMap::into_values`] -- [`MaybeUninit::assume_init_mut`] -- [`MaybeUninit::assume_init_ref`] - [`arch::wasm32`] -- [`arch::x86::_bittest`] -- [`arch::x86::_bittestandcomplement`] -- [`arch::x86::_bittestandset`] -- [`arch::x86_64::_bittest`] -- [`arch::x86_64::_bittestandcomplement64`] -- [`arch::x86_64::_bittestandcomplement`] -- [`arch::x86_64::_bittestandreset64`] -- [`arch::x86_64::_bittestandset64`] -- [`arch::x86_64::_bittestandset`] -- [`ops::ControlFlow`] - [`VecDeque::binary_search`] - [`VecDeque::binary_search_by`] - [`VecDeque::binary_search_by_key`] @@ -99,7 +84,6 @@ Cargo [84988]: https://github.com/rust-lang/rust/pull/84988 [84701]: https://github.com/rust-lang/rust/pull/84701 [84072]: https://github.com/rust-lang/rust/pull/84072 -[86294]: https://github.com/rust-lang/rust/pull/86294 [85745]: https://github.com/rust-lang/rust/pull/85745 [84744]: https://github.com/rust-lang/rust/pull/84744 [85078]: https://github.com/rust-lang/rust/pull/85078 @@ -108,28 +92,15 @@ Cargo [83366]: https://github.com/rust-lang/rust/pull/83366 [83278]: https://github.com/rust-lang/rust/pull/83278 [85292]: https://github.com/rust-lang/rust/pull/85292 -[83572]: https://github.com/rust-lang/rust/pull/83572 [cargo/9520]: https://github.com/rust-lang/cargo/pull/9520 [cargo/9499]: https://github.com/rust-lang/cargo/pull/9499 [cargo/9488]: https://github.com/rust-lang/cargo/pull/9488 [cargo/9375]: https://github.com/rust-lang/cargo/pull/9375 -[`arch::x86::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittest.html -[`arch::x86::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandcomplement.html -[`arch::x86::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86/fn._bittestandset.html -[`arch::x86_64::_bittest`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittest.html -[`arch::x86_64::_bittestandcomplement64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement64.html -[`arch::x86_64::_bittestandcomplement`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandcomplement.html -[`arch::x86_64::_bittestandreset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandreset64.html -[`arch::x86_64::_bittestandset64`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset64.html -[`arch::x86_64::_bittestandset`]: https://doc.rust-lang.org/stable/core/arch/x86_64/fn._bittestandset.html [`BTreeMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_keys [`BTreeMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#method.into_values [`HashMap::into_keys`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_keys [`HashMap::into_values`]: https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.into_values -[`MaybeUninit::assume_init_ref`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_ref -[`MaybeUninit::assume_init_mut`]: https://doc.rust-lang.org/std/mem/union.MaybeUninit.html#method.assume_init_mut [`arch::wasm32`]: https://doc.rust-lang.org/core/arch/wasm32/index.html -[`ops::ControlFlow`]: https://doc.rust-lang.org/std/ops/enum.ControlFlow.html [`VecDeque::binary_search`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search [`VecDeque::binary_search_by`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.binary_search_by From 6e59a9d112cdf0f33968a2d6d1865a6494e04b1b Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Fri, 23 Jul 2021 13:06:43 +0200 Subject: [PATCH 09/11] Update RELEASES.md Co-authored-by: Mark Rousskov --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 8485dd5c02336..f06a81c39c4e2 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -22,7 +22,7 @@ Language - [You can now use multiple generic lifetimes with `impl Trait` where the lifetimes don't explicitly outlive another.][84701] In code this means that you can now have `impl Trait<'a, 'b>` where as before you could - only have `impl Trait<'a, 'b: 'a>`. + only have `impl Trait<'a, 'b> where 'b: 'a`. Compiler ----------------------- From 09b5ce3e1b905e021a980bfa3bc85b923417a48c Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Fri, 23 Jul 2021 13:08:58 +0200 Subject: [PATCH 10/11] Update RELEASES.md --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index f06a81c39c4e2..dd9dad06924fa 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -4,7 +4,7 @@ Version 1.54.0 (2021-07-29) Language ----------------------- -- [You can now use macros for values in key-value attributes.][83366] +- [You can now use macros for values in built-in attribute macros.][83366] While a seemingly minor addition on its own, this enables a lot of powerful functionality when combined correctly. Most notably you can now include external documentation in your crate by writing the following. From 9fc2bfafb18018889ffc001a22f1acb14af2d05a Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Mon, 26 Jul 2021 10:58:37 +0200 Subject: [PATCH 11/11] Update RELEASES.md --- RELEASES.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index dd9dad06924fa..36d6a5276f227 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -68,7 +68,7 @@ Stabilized APIs - [`VecDeque::partition_point`] Cargo ------------------------ +----- - [Added the `--prune ` option to `cargo-tree` to remove a package from the dependency graph.][cargo/9520] @@ -80,6 +80,20 @@ Cargo This variable points to a directory that integration tests and benches can use as a "scratchpad" for testing filesystem operations. +Compatibility Notes +------------------- +- [Mixing Option and Result via `?` is no longer permitted in closures for inferred types.][86831] +- [Previously unsound code is no longer permitted where different constructors in branches + could require different lifetimes.][85574] +- As previously mentioned the [`std::arch` instrinsics now uses stricter const checking][83278] + than before and may reject some previously accepted code. +- [`i128` multiplication on Cortex M0+ platforms currently unconditionally causes overflow + when compiled with `codegen-units = 1`.][86063] + +[85574]: https://github.com/rust-lang/rust/issues/85574 +[86831]: https://github.com/rust-lang/rust/issues/86831 +[86063]: https://github.com/rust-lang/rust/issues/86063 +[86831]: https://github.com/rust-lang/rust/issues/86831 [79608]: https://github.com/rust-lang/rust/pull/79608 [84988]: https://github.com/rust-lang/rust/pull/84988 [84701]: https://github.com/rust-lang/rust/pull/84701