Skip to content

Commit 81c2640

Browse files
Update posts/2025-01-09-Rust-1.84.0.md
Co-authored-by: Ed Page <eopage@gmail.com>
1 parent 51c8731 commit 81c2640

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

posts/2025-01-09-Rust-1.84.0.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ $ CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=allow cargo update
5656
Updating clap v4.0.32 -> v4.5.23
5757
```
5858

59+
You can also opt-in by setting [`package.resolver = "3"`](https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions) in the Cargo.toml manifest file though that will require raising your MSRV to 1.84. The new resolver will be enabled by default for projects using the 2024 edition
60+
(which will stabilize in 1.85).
61+
5962
This gives library authors more flexibility when deciding
6063
their policy on adopting new Rust toolchain features. Previously, a library
6164
adopting features from a new Rust toolchain would force downstream users of
@@ -66,11 +69,6 @@ automatically use older library versions compatible with their older toolchain.
6669

6770
See the [documentation](https://doc.rust-lang.org/cargo/reference/rust-version.html#setting-and-updating-rust-version) for more considerations when deciding on an MSRV policy.
6871

69-
The new resolver will be enabled by default for projects using the 2024 edition
70-
(which will stabilize in 1.85), but can be enabled in this release via
71-
[`package.resolver = "3"`](https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions) in the Cargo.toml manifest file, or
72-
[`resolver.incompatible-rust-versions = "fallback"`](https://doc.rust-lang.org/cargo/reference/config.html#resolverincompatible-rust-versions) in the Cargo configuration file.
73-
7472
### Migration to a new trait solver begins
7573

7674
The Rust compiler is in the process of moving to a new implementation for the

0 commit comments

Comments
 (0)