From d9230a3c0fb9aef73972ac2e558ebdcf83d87c21 Mon Sep 17 00:00:00 2001 From: lcnr Date: Wed, 23 Feb 2022 16:16:34 +0100 Subject: [PATCH] backport from stable and fix link --- RELEASES.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/RELEASES.md b/RELEASES.md index 12684f2323a..b96eb18cf86 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -18,6 +18,21 @@ Compiler - [Warn when a `#[test]`-like built-in attribute macro is present multiple times.][91172] - [Add support for riscv64gc-unknown-freebsd][91284] - [Stabilize `-Z emit-future-incompat` as `--json future-incompat`][91535] +- [Soft disable incremental compilation][94124] + +This release disables incremental compilation, unless the user has explicitly +opted in via the newly added RUSTC_FORCE_INCREMENTAL=1 environment variable. +This is due to a known and relatively frequently occurring bug in incremental +compilation, which causes builds to issue internal compiler errors. This +particular bug is already fixed on nightly, but that fix has not yet rolled out +to stable and is deemed too risky for a direct stable backport. + +As always, we encourage users to test with nightly and report bugs so that we +can track failures and fix issues earlier. + +See [94124] for more details. + +[94124]: https://github.com/rust-lang/rust/issues/94124 Libraries --------- @@ -86,6 +101,7 @@ Compatibility Notes - [Weaken guarantee around advancing underlying iterators in zip][83791] - [Make split_inclusive() on an empty slice yield an empty output][89825] - [Update std::env::temp_dir to use GetTempPath2 on Windows when available.][89999] +- [unreachable! was updated to match other formatting macro behavior on Rust 2021][92137] Internal Changes ---------------- @@ -127,6 +143,7 @@ and related tools. [91984]: https://github.com/rust-lang/rust/pull/91984/ [92020]: https://github.com/rust-lang/rust/pull/92020/ [92034]: https://github.com/rust-lang/rust/pull/92034/ +[92137]: https://github.com/rust-lang/rust/pull/92137/ [92483]: https://github.com/rust-lang/rust/pull/92483/ [cargo/10088]: https://github.com/rust-lang/cargo/pull/10088/ [cargo/10133]: https://github.com/rust-lang/cargo/pull/10133/