mirror of https://github.com/rust-lang/cargo
fix(msrv): Don't require -Zmsrv-policy for resolver=3
We still have `edition2024` guarding this. Dealing with two feature flags to control behavior is messy. We just need to make sure both get stabilized :).
This commit is contained in:
parent
d29ad6788a
commit
706f8a71c8
|
@ -310,9 +310,6 @@ impl<'gctx> Workspace<'gctx> {
|
|||
ResolveBehavior::V1 | ResolveBehavior::V2 => {}
|
||||
ResolveBehavior::V3 => {
|
||||
if self.resolve_behavior == ResolveBehavior::V3 {
|
||||
if !self.gctx().cli_unstable().msrv_policy {
|
||||
anyhow::bail!("`resolver=\"3\"` requires `-Zmsrv-policy`");
|
||||
}
|
||||
self.resolve_honors_rust_version = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue