From 7c7bb3eea3a7a45575ce10af3e08752728dd7f89 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 17 Mar 2025 11:08:33 -0700 Subject: [PATCH 1/3] Announcing Rust 1.85.1 --- posts/Rust-1.85.1.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 posts/Rust-1.85.1.md diff --git a/posts/Rust-1.85.1.md b/posts/Rust-1.85.1.md new file mode 100644 index 000000000..f6736a0da --- /dev/null +++ b/posts/Rust-1.85.1.md @@ -0,0 +1,36 @@ ++++ +layout = "post" +date = 2025-03-18 +title = "Announcing Rust 1.85.1" +author = "The Rust Release Team" +release = true ++++ + +The Rust team has published a new point release of Rust, 1.85.1. Rust is a +programming language that is empowering everyone to build reliable and +efficient software. + +If you have a previous version of Rust installed via rustup, getting Rust +1.85.1 is as easy as: + +``` +rustup update stable +``` + +If you don't have it already, you can [get `rustup`][rustup] from the +appropriate page on our website. + +[rustup]: https://www.rust-lang.org/install.html + +## What's in 1.85.1 + +- [Fix the doctest-merging feature of the 2024 Edition.](https://github.com/rust-lang/rust/pull/137899/) +- [Relax some `target_feature` checks when generating docs.](https://github.com/rust-lang/rust/pull/137632/) +- [Fix errors in `std::fs::rename` on Windows 1607.](https://github.com/rust-lang/rust/pull/137528/) +- [Downgrade bootstrap `cc` to fix custom targets.](https://github.com/rust-lang/rust/pull/137460/) +- [Skip submodule updates when building Rust from a source tarball.](https://github.com/rust-lang/rust/pull/137338/) + +### Contributors to 1.85.1 + +Many people came together to create Rust 1.85.1. We couldn't have done it +without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.85.1/) From 437dbaf99efbc47e8d3865f38759defda9cbc573 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 17 Mar 2025 17:29:10 -0700 Subject: [PATCH 2/3] Expand on 1.85.1 merged doctests --- posts/Rust-1.85.1.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/posts/Rust-1.85.1.md b/posts/Rust-1.85.1.md index f6736a0da..34fbb516e 100644 --- a/posts/Rust-1.85.1.md +++ b/posts/Rust-1.85.1.md @@ -24,7 +24,16 @@ appropriate page on our website. ## What's in 1.85.1 -- [Fix the doctest-merging feature of the 2024 Edition.](https://github.com/rust-lang/rust/pull/137899/) +### Fixed 2024 Edition doctests + +Due to a bug in the implementation, [combined doctests](https://doc.rust-lang.org/edition-guide/rust-2024/rustdoc-doctests.html) did not work as intended in the stable 2024 Edition. Internal errors with feature stability caused rustdoc to automatically use its "unmerged" fallback method instead, like previous editions. + +Those errors are now fixed in 1.85.1, realizing the performance improvement of combined doctest compilation as intended! See the [backport issue](https://github.com/rust-lang/rust/issues/138418) for more details, including the risk analysis of making this behavioral change in a point release. + +### Other fixes + +1.85.1 also resolves a few regressions introduced in 1.85.0: + - [Relax some `target_feature` checks when generating docs.](https://github.com/rust-lang/rust/pull/137632/) - [Fix errors in `std::fs::rename` on Windows 1607.](https://github.com/rust-lang/rust/pull/137528/) - [Downgrade bootstrap `cc` to fix custom targets.](https://github.com/rust-lang/rust/pull/137460/) From 429be0627412ffe1a48176a4a535d2c050dbfd56 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 18 Mar 2025 08:35:07 -0700 Subject: [PATCH 3/3] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kevin Reid Co-authored-by: Jakub Beránek --- posts/Rust-1.85.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/Rust-1.85.1.md b/posts/Rust-1.85.1.md index 34fbb516e..0ed335ed2 100644 --- a/posts/Rust-1.85.1.md +++ b/posts/Rust-1.85.1.md @@ -24,9 +24,9 @@ appropriate page on our website. ## What's in 1.85.1 -### Fixed 2024 Edition doctests +### Fixed combined doctest compilation -Due to a bug in the implementation, [combined doctests](https://doc.rust-lang.org/edition-guide/rust-2024/rustdoc-doctests.html) did not work as intended in the stable 2024 Edition. Internal errors with feature stability caused rustdoc to automatically use its "unmerged" fallback method instead, like previous editions. +Due to a bug in the implementation, [combined doctests](https://doc.rust-lang.org/edition-guide/rust-2024/rustdoc-doctests.html) did not work as intended in the stable 2024 Edition. Internal errors with feature stability caused rustdoc to automatically use its "unmerged" fallback method instead, like in previous editions. Those errors are now fixed in 1.85.1, realizing the performance improvement of combined doctest compilation as intended! See the [backport issue](https://github.com/rust-lang/rust/issues/138418) for more details, including the risk analysis of making this behavioral change in a point release.