You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #12847 - epage:backport, r=weihanglo
[beta-1.74.0] Partial-version spec support
Beta backports:
- #12806
In order to make CI pass, the following PRs are also cherry-picked:
- f0d3cdf from #12800
[ERROR] failed to get `bar` as a dependency of package `foo v0.0.1 ([..]/foo)`
1342
+
1343
+
Caused by:
1344
+
replacement specification `https://github.com/rust-lang/crates.io-index#[email protected]` matched 0.1.0+a and tried to override it with 0.1.0
1345
+
avoid matching unrelated packages by being more specific
1346
+
",
1347
+
)
1348
+
.with_status(101)
1349
+
.run();
1350
+
}
1351
+
1352
+
#[cargo_test]
1353
+
fnoverride_respects_spec_metadata(){
1354
+
Package::new("bar","0.1.0+a").publish();
1355
+
1356
+
let bar = git::repo(&paths::root().join("override"))
0 commit comments