Skip to content

Commit 437dbaf

Browse files
committed
Expand on 1.85.1 merged doctests
1 parent 7c7bb3e commit 437dbaf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

posts/Rust-1.85.1.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@ appropriate page on our website.
2424

2525
## What's in 1.85.1
2626

27-
- [Fix the doctest-merging feature of the 2024 Edition.](https://github.com/rust-lang/rust/pull/137899/)
27+
### Fixed 2024 Edition doctests
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 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+
2837
- [Relax some `target_feature` checks when generating docs.](https://github.com/rust-lang/rust/pull/137632/)
2938
- [Fix errors in `std::fs::rename` on Windows 1607.](https://github.com/rust-lang/rust/pull/137528/)
3039
- [Downgrade bootstrap `cc` to fix custom targets.](https://github.com/rust-lang/rust/pull/137460/)

0 commit comments

Comments
 (0)