Verify older MSRV while using new V3 dependency resolver #1156
Replies: 1 comment 4 replies
-
|
Hmm you set the resolver in the Cargo manifest I assume, i.e. this is not the lock file? (If it is the lock file, you can use --ignore-lockfile). An argument could be made that setting a resolver version to something only more recent Rust versions (or really Cargo here) support should result in the MSRV being such a recent version. What is your use case? Can you compile your crate using older cargo versions which do not support resolver = 3? Or do you rather want to more strictly resolve the MSRV for the rust code and bypass whether Cargo is compatible (this used to be supported, although most commonly cargo is used anyways and is also relevant, yet I want to bring it back in the near future). If it is more foundational, I will have to take a closer look at the impact (not at a pc right now). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use the new V3 cargo dependency resolver in my library, however, this makes it difficult to verify the MSRV if that version doesn't know of the new V3 resolver:
Any recommendations to get around this? I am attempting to just modify the Cargo.toml in CI, but is feels very hacky.
Beta Was this translation helpful? Give feedback.
All reactions