Page MenuHomeSolus

Update cargo to 0.25.0
ClosedPublic

Authored by saintdev on Feb 17 2018, 11:19 PM.
Tags
None
Referenced Files
F11023695: D2318.diff
Tue, Aug 8, 3:49 PM
F10998648: D2318.diff
Fri, Jul 28, 2:07 AM
F10844663: D2318.id6139.diff
Jun 10 2023, 9:37 PM
F10844164: D2318.id5555.diff
Jun 10 2023, 8:12 PM
F10843264: D2318.id5544.diff
Jun 10 2023, 5:22 PM
F10767777: D2318.diff
May 20 2023, 2:11 AM
F10728717: D2318.diff
May 10 2023, 8:57 AM
F10727079: D2318.diff
May 9 2023, 5:28 PM
Subscribers

Details

Summary

0.25.0

0.24.0

  • Support for alternative registries
  • Support for uninstallation of multiple packages
  • cargo check now supports checking unit tests
  • Detailed release notes

Fixed bash completion for Cargo

Test Plan

Install/compile ripgrep

Diff Detail

Repository
R492 cargo
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

A few changes that might need explanation in this update.

First, we use the Cargo source bundled in the rustc tar. This is the recommended way to compile Cargo by upstream (see these comments on Cargo PR 4623). This came about because upstream removed the Cargo.lock file from the repo. This causes issues when compiling Cargo, where the versions of dependent crates do not match those used by upstream releases, mostly with tests. Also, upstream has been slow to tag releases on Github for the last couple Cargo releases. Using the source bundled with rustc means Cargo can be updated as soon as there is a new rust release.

Second, tests are disabled at this moment. There are a few issues upstream with the tests failing erroneously. When using the bundled rustc sources there is a test that fails, because it detects the wrong Cargo.toml (Cargo issue #4755/Rust issue #48255). If compiled with the upstream tagged releases a git test fails, because the output is slightly different than expected. This is due to version differences in the newer git2 crate (Cargo issue #4908). Tests will be re-enabled once upstream fixes (one of) these issues.

Fix Cargo bash completions

This revision is now accepted and ready to land.Feb 21 2018, 10:31 PM
joebonrichie added inline comments.
package.yml
20

Small fyi this pkgconfig isn't needed as openssl-devel is in the system-devel component so will automatically be installed.

This revision was automatically updated to reflect the committed changes.