-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Comparing changes
Open a pull request
base repository: rust-lang/cargo
base: 0.71.0
head repository: rust-lang/cargo
compare: 0.72.0
Commits on Mar 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 33dfd3d - Browse repository at this point
Copy the full SHA 33dfd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ccbdae - Browse repository at this point
Copy the full SHA 1ccbdaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b032af - Browse repository at this point
Copy the full SHA 6b032afView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf53de8 - Browse repository at this point
Copy the full SHA cf53de8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e908f6a - Browse repository at this point
Copy the full SHA e908f6aView commit details
Commits on Mar 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2aea4d0 - Browse repository at this point
Copy the full SHA 2aea4d0View commit details
Commits on Apr 11, 2023
-
Allow named debuginfo options in Cargo.toml
Rustc supports these since rust-lang/rust#109808. It's technically possible to set a named debuginfo level through `RUSTFLAGS`, but in practice cargo always passes its own opinion of what the debuginfo level is, so allow it to be configured through cargo too.
Configuration menu - View commit details
-
Copy full SHA for d861dcf - Browse repository at this point
Copy the full SHA d861dcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dbb474 - Browse repository at this point
Copy the full SHA 3dbb474View commit details
Commits on Apr 12, 2023
-
chore: create a
[workspace]
for cargoSome dependencies in `resolver-tests` do not have any license information. This prevent it from being a member when integrating in rust-lang/rust. Will figure it out after. Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
Configuration menu - View commit details
-
Copy full SHA for ecfe927 - Browse repository at this point
Copy the full SHA ecfe927View commit details -
chore: new Cargo feature
all-static
This is primarily for the release process of rust-lang/rust. Note that in rustc-worksace-hack[1] it enable http2 via libnghttp2, cargo probably needs to enable it to compile in rust-lang/rust. [1]: https://github.com/rust-lang/rust/blob/992d154f3a84cc8abcefcf6e6cf3698e4821b506/src/tools/rustc-workspace-hack/Cargo.toml#L77 Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
Configuration menu - View commit details
-
Copy full SHA for 796853c - Browse repository at this point
Copy the full SHA 796853cView commit details -
ci: use
-p
to specify which package to build an testCo-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
Configuration menu - View commit details
-
Copy full SHA for 36f00f4 - Browse repository at this point
Copy the full SHA 36f00f4View commit details -
Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
Configuration menu - View commit details
-
Copy full SHA for 0289f2b - Browse repository at this point
Copy the full SHA 0289f2bView commit details -
chore: remove dependency
rustc-workspace-hack
Co-authored-by: Scott Schafer <schaferjscott@gmail.com> Co-authored-by: Eric Huss <eric@huss.org>
Configuration menu - View commit details
-
Copy full SHA for aaca5a0 - Browse repository at this point
Copy the full SHA aaca5a0View commit details -
- Update the documentation and doc-comments - Improve the error message for parsing Cargo.toml
Configuration menu - View commit details
-
Copy full SHA for 8a9db7a - Browse repository at this point
Copy the full SHA 8a9db7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f026409 - Browse repository at this point
Copy the full SHA f026409View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccd77a3 - Browse repository at this point
Copy the full SHA ccd77a3View commit details
Commits on Apr 14, 2023
-
Correct the bug report for
cargo clippy --fix
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a880a2 - Browse repository at this point
Copy the full SHA 3a880a2View commit details -
Add broken_clippy_fixes_backed_out
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 47f6e2d - Browse repository at this point
Copy the full SHA 47f6e2dView commit details -
Add
rustc_shim_for_cargo_fix
andwrapped_clippy_driver
to reuse codeSigned-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 08169fd - Browse repository at this point
Copy the full SHA 08169fdView commit details -
Auto merge of #11882 - hi-rustin:rustin-patch-clippy-fix, r=weihanglo
Correct the bug report for `cargo clippy --fix`
Configuration menu - View commit details
-
Copy full SHA for b0742b2 - Browse repository at this point
Copy the full SHA b0742b2View commit details -
Auto merge of #11963 - jhpratt:master, r=epage
Use restricted Damerau-Levenshtein algorithm This uses the same implementation as the one used in rustc, so review should be simple. As with rust-lang/rust#108200, the module and function names have been changed to be implementation-agnostic. [Reference](https://github.com/rust-lang/rust/blob/13d1802b8882452f7d9d1bf514a096c5c8a22303/compiler/rustc_span/src/edit_distance.rs) for rustc's current implementation.
Configuration menu - View commit details
-
Copy full SHA for d2e7cfb - Browse repository at this point
Copy the full SHA d2e7cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa758e - Browse repository at this point
Copy the full SHA 6fa758eView commit details -
Auto merge of #11976 - ehuss:fix-not_found_permutations, r=epage
Fix flaky not_found_permutations test. This fixes the `registry::not_found_permutations` test which would randomly fail since the order of http requests was not deterministic. The resolver can issue queries in parallel which can process requests out-of-order. Fixes #11975
Configuration menu - View commit details
-
Copy full SHA for 7fb89f0 - Browse repository at this point
Copy the full SHA 7fb89f0View commit details
Commits on Apr 15, 2023
-
Auto merge of #11851 - weihanglo:make-cargo-a-workspace, r=ehuss
Make cargo a workspace ### What does this PR try to resolve? The first step of making cargo a workspace. Benefits: * Dogfooding ourselves. * Unblock #11831: It got stuck because the new version of tempfile using `windows-sys` but some issues haven't yet be solved in rust-lang/rust. * Make `cargo xtask` or similar developer workflow possible (e.g., #11717) * Having our own Cargo.lock, so our CI can cover the exact binary going to ship. Also free Cargo from CI breaks due to dependency patch releases. * Probably more? Please add them by yourself. ### How should we test and review this PR? Please review it commit by commit. A companion PR is here rust-lang/rust#109133, and should be reviewed together. ### Unresolved issues To limit the scope of this pull request, the following issues are intentionally left unresolved. They will be addressed right after this pull request gets merged. - [x] Make `benches/capture` and `benches/capture` workspace members. (Addressed with 2cf9718) - [x] Make `crates/resolver-tests` a workspace member. (Addressed with #11886) - [ ] ~~Fix clippy warnings and re-enable clippy check in CI for all workspace members.~~ - Blocked on rust-lang/rfcs#3389 so we can more easily propagate our clippy settings - [ ] Fix rustdoc warnings and re-enable rustdoc check in CI for all workspace members. - [ ] Fix `linkchecker.sh` warnings in CI (#11851 (comment)) - [ ] Leverage workspace flag `--workspace` when running `cargo build` or `cargo test`, instead of using flag `-p`. - [ ] Leverage glob syntax when probing members in `[workspace]` in Cargo.toml (i.e., `crates/*`). ### Additional information This depends on prior works from `@Muscraft` and `@ehuss.` Credits to them!
Configuration menu - View commit details
-
Copy full SHA for 39116cc - Browse repository at this point
Copy the full SHA 39116ccView commit details
Commits on Apr 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a0bb59c - Browse repository at this point
Copy the full SHA a0bb59cView commit details -
Auto merge of #11979 - weihanglo:openssl-for-non-windows, r=ehuss
chore: use openssl only on non-Windows platforms On Windows, the system-provided Schannel will be used instead. See - rust-lang/rust#109133 (comment) - https://github.com/rust-lang/cargo/blob/39116ccc9b420a883a98a960f0597f9cf87414b8/README.md?plain=1#L38-L49
Configuration menu - View commit details
-
Copy full SHA for d0a4cbc - Browse repository at this point
Copy the full SHA d0a4cbcView commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6d4677d - Browse repository at this point
Copy the full SHA 6d4677dView commit details -
Auto merge of #11982 - ehuss:changelog-clarification, r=weihanglo
Clarify some 1.69 changelog entries. These are some updates that were added in the rust-lang/rust release notes to try to clarify some of these entries.
Configuration menu - View commit details
-
Copy full SHA for 5861176 - Browse repository at this point
Copy the full SHA 5861176View commit details -
Configuration menu - View commit details
-
Copy full SHA for e080273 - Browse repository at this point
Copy the full SHA e080273View commit details
Commits on Apr 18, 2023
-
Auto merge of #11981 - Systemcluster:rustflags-comparable, r=epage
Configuration menu - View commit details
-
Copy full SHA for 60bf28f - Browse repository at this point
Copy the full SHA 60bf28fView commit details -
Configuration menu - View commit details
-
Copy full SHA for feb6d88 - Browse repository at this point
Copy the full SHA feb6d88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e3dde1 - Browse repository at this point
Copy the full SHA 2e3dde1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72fee80 - Browse repository at this point
Copy the full SHA 72fee80View commit details -
Configuration menu - View commit details
-
Copy full SHA for b533f89 - Browse repository at this point
Copy the full SHA b533f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 943edea - Browse repository at this point
Copy the full SHA 943edeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dc17a2 - Browse repository at this point
Copy the full SHA 6dc17a2View commit details -
Prevent false positives when checking for changes in src/doc.
When changing cargo versions from stable to nightly, it's possible that the Cargo.lock format changes ever so slightly. This leaves the `Cargo.lock` file changed which is picked up by `git status`. This patch adjusts the `git status` invocation to limit itself to the CWD.
Configuration menu - View commit details
-
Copy full SHA for 7715010 - Browse repository at this point
Copy the full SHA 7715010View commit details -
Auto merge of #11994 - weihanglo:lockfile, r=epage
ci: check if Cargo.lock is up-to-date
Configuration menu - View commit details
-
Copy full SHA for 7a7f965 - Browse repository at this point
Copy the full SHA 7a7f965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15dd1f4 - Browse repository at this point
Copy the full SHA 15dd1f4View commit details -
Auto merge of #11995 - ehuss:s-triage-label, r=weihanglo
Add S-triage auto-label. This automatically adds the https://github.com/rust-lang/cargo/labels/S-triage label to new issues using the template. This is intended to help make it clear that issues have not been triaged, and need some decision on the next state they should go to. cc #11788
Configuration menu - View commit details
-
Copy full SHA for d3a1bbd - Browse repository at this point
Copy the full SHA d3a1bbdView commit details -
Auto merge of #11993 - epage:member, r=weihanglo
fix: Allow win/mac credential managers to build on all platforms ### What does this PR try to resolve? This is a step towards #11987 by making two of the platform-specific credential managers build on all platforms using `cfg`. I haven't done `gnome-secret` yet because that is more of an oddball in that it isn't just platforms-specific but dependent on what is installed on that platform. ### How should we test and review this PR? ```console $ cargo check --workspace --exclude cargo-credential-gnome-secret ``` Note that the commits are broken down so you can view the movements of code separate from the functionality being changed. ### Additional information Other information you want to mention in this PR, such as prior arts, future extensions, an unresolved problem, or a TODO list. --> <!-- homu-ignore:end -->
Configuration menu - View commit details
-
Copy full SHA for 9d506e5 - Browse repository at this point
Copy the full SHA 9d506e5View commit details
Commits on Apr 19, 2023
-
chore: Use globs for workspace members
This is a short-term option until we can have a better solution for globbing. This does not update `benches/` to support which has a README in there preventing globbing; this seems low-churn enough not to find a solution for it. On the next sync-up with rust-lang/rust, we'll need to update https://github.com/rust-lang/rust/blob/4e463012580415a932ae4fc255aff45982c70369/src/bootstrap/tool.rs#L588-L603 Fixes #11988
Configuration menu - View commit details
-
Copy full SHA for 895435f - Browse repository at this point
Copy the full SHA 895435fView commit details -
Better error message when getting an empty dep table
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7399c27 - Browse repository at this point
Copy the full SHA 7399c27View commit details -
Configuration menu - View commit details
-
Copy full SHA for d54cc30 - Browse repository at this point
Copy the full SHA d54cc30View commit details -
Auto merge of #11996 - epage:move, r=weihanglo
chore: Use globs for workspace members This is a short-term option until we can have a better solution for globbing. This does not update `benches/` to support which has a README in there preventing globbing; this seems low-churn enough not to find a solution for it. On the next sync-up with rust-lang/rust, we'll need to update https://github.com/rust-lang/rust/blob/4e463012580415a932ae4fc255aff45982c70369/src/bootstrap/tool.rs#L588-L603 Fixes #11988
Configuration menu - View commit details
-
Copy full SHA for 95535a9 - Browse repository at this point
Copy the full SHA 95535a9View commit details -
Auto merge of #11998 - loongarch-rs:master, r=weihanglo
Update linux-raw-sys to 0.3.2 Adds support for LoongArch.
Configuration menu - View commit details
-
Copy full SHA for a3672a3 - Browse repository at this point
Copy the full SHA a3672a3View commit details
Commits on Apr 20, 2023
-
Add test for empty dep table error
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4d401bd - Browse repository at this point
Copy the full SHA 4d401bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a982bcc - Browse repository at this point
Copy the full SHA a982bccView commit details -
Update error message to not start with capital letters
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e0276ca - Browse repository at this point
Copy the full SHA e0276caView commit details -
Improve error message for empty dep
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for af0cd9f - Browse repository at this point
Copy the full SHA af0cd9fView commit details
There are no files selected for viewing