Rust 1.84.0 is announced. If you have a previous version installed via rustup
, update with rustup update stable
. Get rustup
from the website if not already. Check detailed release notes.
What's in 1.84.0 stable:
- Cargo considers Rust versions for dependency version selection: Stabilizes the MSRV-aware resolver. Can opt-in via
.cargo/config.toml
or settingpackage.resolver = "3"
. Gives library authors more flexibility. - Migration to the new trait solver begins: The compiler moves to a new trait solver. Used for checking trait impl coherence, fixes some correctness issues, and improves proving impl non-overlap.
- Strict provenance APIs: Pointers have provenance. New APIs avoid ambiguity in pointer casts. See standard library documentation for more details.
- Stabilized APIs: Several APIs are now stable in const contexts.
- Cargo considers Rust versions for dependency version selection: Stabilizes the MSRV-aware resolver. Can opt-in via
- Other changes: Check the release pages for changes in Rust, Cargo, and Clippy.
- Contributors to 1.84.0: Many people contributed. Thanks to them all.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。