Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Update cargo to 0.34 #86

Merged
merged 4 commits into from
Jan 7, 2019
Merged

Update cargo to 0.34 #86

merged 4 commits into from
Jan 7, 2019

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Jan 3, 2019

This updates cargo to 0.34 (master) - cargo removed some APIs that rust-semverver was using apparently accidentally, so I've filled in a PR to revert their removal: rust-lang/cargo#6517 . This PR currently points to my branch of cargo with that patch, and I'll update this PR to cargo 0.34 once it is properly released.

Until then, it would be nice to check that this PR doesn't break anything on CI.

EDIT: these APIs won't be re-added to cargo any time soon, and there are currently no alternatives available. We should probably stop depending on cargo in the future as suggested in that PR, but that might need some major changes (I've filled an issue in the cargo_metadata repo about how to proceed here: oli-obk/cargo_metadata#60). In the meantime the easiest thing is to just use a patched version of cargo.

On my CI this PR succeeds except for the last step, running cargo semver on itself, because the last released version on crates.io does not compile anymore, but that failure is to be expected, and after 0.1.23 is released, the failure should go away.

@gnzlbg gnzlbg changed the title [WIP] Update cargo to 0.34 Update cargo to 0.34 Jan 3, 2019
@ibabushkin
Copy link
Contributor

I've run into similar issues when addressing the current CI failures, I'll have a look and see how much overlap is in our branches (and your other PR).

@gnzlbg
Copy link
Contributor Author

gnzlbg commented Jan 3, 2019

I'm on zulip and discord if you have questions.

@ibabushkin ibabushkin merged commit 5c20a31 into rust-lang:master Jan 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants