Skip to content

Commit c34ce3c

Browse files
authored
Merge pull request #1527 from cuviper/rust-1.85.1
Announcing Rust 1.85.1
2 parents 4c9ac8b + 429be06 commit c34ce3c

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

posts/Rust-1.85.1.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
+++
2+
layout = "post"
3+
date = 2025-03-18
4+
title = "Announcing Rust 1.85.1"
5+
author = "The Rust Release Team"
6+
release = true
7+
+++
8+
9+
The Rust team has published a new point release of Rust, 1.85.1. Rust is a
10+
programming language that is empowering everyone to build reliable and
11+
efficient software.
12+
13+
If you have a previous version of Rust installed via rustup, getting Rust
14+
1.85.1 is as easy as:
15+
16+
```
17+
rustup update stable
18+
```
19+
20+
If you don't have it already, you can [get `rustup`][rustup] from the
21+
appropriate page on our website.
22+
23+
[rustup]: https://www.rust-lang.org/install.html
24+
25+
## What's in 1.85.1
26+
27+
### Fixed combined doctest compilation
28+
29+
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.
30+
31+
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.
32+
33+
### Other fixes
34+
35+
1.85.1 also resolves a few regressions introduced in 1.85.0:
36+
37+
- [Relax some `target_feature` checks when generating docs.](https://github.com/rust-lang/rust/pull/137632/)
38+
- [Fix errors in `std::fs::rename` on Windows 1607.](https://github.com/rust-lang/rust/pull/137528/)
39+
- [Downgrade bootstrap `cc` to fix custom targets.](https://github.com/rust-lang/rust/pull/137460/)
40+
- [Skip submodule updates when building Rust from a source tarball.](https://github.com/rust-lang/rust/pull/137338/)
41+
42+
### Contributors to 1.85.1
43+
44+
Many people came together to create Rust 1.85.1. We couldn't have done it
45+
without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.85.1/)

0 commit comments

Comments
 (0)