mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
test(lockfile): v4 isn't the default for rust-version 1.77
This commit is contained in:
parent
fb95ac4887
commit
9ae485df28
@ -85,7 +85,7 @@ pub enum ResolveVersion {
|
||||
V3,
|
||||
/// SourceId URL serialization is aware of URL encoding. For example,
|
||||
/// `?branch=foo bar` is now encoded as `?branch=foo+bar` and can be decoded
|
||||
/// back and forth correctly. Introduced in 2024 in version 1.77.
|
||||
/// back and forth correctly. Introduced in 2024 in version 1.78.
|
||||
V4,
|
||||
/// Unstable. Will collect a certain amount of changes and then go.
|
||||
///
|
||||
|
@ -1220,6 +1220,7 @@ dependencies = [
|
||||
("1.37", Some(1), 1),
|
||||
("1.37", Some(2), 2),
|
||||
("1.37", Some(3), 3),
|
||||
("1.37", Some(4), 4),
|
||||
// v2 introduced
|
||||
("1.38", None, 1),
|
||||
// last version of v1 as the default
|
||||
@ -1229,6 +1230,7 @@ dependencies = [
|
||||
("1.41", Some(1), 1),
|
||||
("1.41", Some(2), 2),
|
||||
("1.41", Some(3), 3),
|
||||
("1.41", Some(4), 4),
|
||||
// v3 introduced
|
||||
("1.47", None, 2),
|
||||
// last version of v2 as the default
|
||||
@ -1238,6 +1240,9 @@ dependencies = [
|
||||
("1.53", Some(1), 1),
|
||||
("1.53", Some(2), 2),
|
||||
("1.53", Some(3), 3),
|
||||
("1.53", Some(4), 4),
|
||||
// v4 introduced
|
||||
("1.78", None, 3),
|
||||
];
|
||||
|
||||
for (msrv, existing_lockfile, expected_version) in cases {
|
||||
|
Loading…
x
Reference in New Issue
Block a user