Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cargo #112259

Merged
merged 1 commit into from
Jun 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/cargo
Submodule cargo updated 87 files
+33 −74 .github/workflows/main.yml
+182 −10 CHANGELOG.md
+3 −6 Cargo.lock
+2 −5 Cargo.toml
+0 −44 ci/matrix.json
+0 −50 ci/which-channel.sh
+11 −10 crates/cargo-test-support/src/paths.rs
+8 −7 crates/cargo-test-support/src/tools.rs
+13 −2 crates/cargo-util/src/paths.rs
+0 −1 crates/resolver-tests/Cargo.toml
+3 −1 crates/resolver-tests/tests/resolve.rs
+16 −13 src/bin/cargo/cli.rs
+13 −0 src/bin/cargo/commands/add.rs
+11 −0 src/bin/cargo/commands/install.rs
+17 −5 src/cargo/core/compiler/build_config.rs
+50 −9 src/cargo/core/compiler/custom_build.rs
+90 −118 src/cargo/core/compiler/mod.rs
+62 −54 src/cargo/core/features.rs
+6 −5 src/cargo/core/package_id.rs
+22 −32 src/cargo/core/profiles.rs
+1 −1 src/cargo/core/shell.rs
+6 −4 src/cargo/core/source/source_id.rs
+6 −1 src/cargo/ops/cargo_clean.rs
+2 −1 src/cargo/ops/cargo_fetch.rs
+4 −3 src/cargo/ops/cargo_package.rs
+0 −2 src/cargo/ops/cargo_test.rs
+3 −3 src/cargo/ops/registry.rs
+1 −1 src/cargo/sources/git/known_hosts.rs
+13 −3 src/cargo/util/command_prelude.rs
+20 −1 src/cargo/util/config/mod.rs
+9 −9 src/cargo/util/config/target.rs
+6 −4 src/cargo/util/interning.rs
+1 −0 src/doc/man/generated_txt/cargo-bench.txt
+1 −0 src/doc/man/generated_txt/cargo-build.txt
+1 −0 src/doc/man/generated_txt/cargo-check.txt
+1 −0 src/doc/man/generated_txt/cargo-doc.txt
+1 −0 src/doc/man/generated_txt/cargo-fix.txt
+1 −0 src/doc/man/generated_txt/cargo-install.txt
+1 −0 src/doc/man/generated_txt/cargo-package.txt
+1 −0 src/doc/man/generated_txt/cargo-publish.txt
+1 −0 src/doc/man/generated_txt/cargo-run.txt
+1 −0 src/doc/man/generated_txt/cargo-rustc.txt
+1 −0 src/doc/man/generated_txt/cargo-rustdoc.txt
+1 −0 src/doc/man/generated_txt/cargo-test.txt
+2 −1 src/doc/man/includes/options-jobs.md
+2 −1 src/doc/src/commands/cargo-bench.md
+2 −1 src/doc/src/commands/cargo-build.md
+2 −1 src/doc/src/commands/cargo-check.md
+2 −1 src/doc/src/commands/cargo-doc.md
+2 −1 src/doc/src/commands/cargo-fix.md
+2 −1 src/doc/src/commands/cargo-install.md
+2 −1 src/doc/src/commands/cargo-package.md
+2 −1 src/doc/src/commands/cargo-publish.md
+2 −1 src/doc/src/commands/cargo-run.md
+2 −1 src/doc/src/commands/cargo-rustc.md
+2 −1 src/doc/src/commands/cargo-rustdoc.md
+2 −1 src/doc/src/commands/cargo-test.md
+3 −2 src/doc/src/reference/config.md
+10 −0 src/doc/src/reference/registry-index.md
+2 −1 src/etc/man/cargo-bench.1
+2 −1 src/etc/man/cargo-build.1
+2 −1 src/etc/man/cargo-check.1
+2 −1 src/etc/man/cargo-doc.1
+2 −1 src/etc/man/cargo-fix.1
+2 −1 src/etc/man/cargo-install.1
+2 −1 src/etc/man/cargo-package.1
+2 −1 src/etc/man/cargo-publish.1
+2 −1 src/etc/man/cargo-run.1
+2 −1 src/etc/man/cargo-rustc.1
+2 −1 src/etc/man/cargo-rustdoc.1
+2 −1 src/etc/man/cargo-test.1
+13 −11 tests/testsuite/build.rs
+1 −1 tests/testsuite/build_script.rs
+1 −0 tests/testsuite/cargo_add/add_toolchain/in
+23 −0 tests/testsuite/cargo_add/add_toolchain/mod.rs
+5 −0 tests/testsuite/cargo_add/add_toolchain/out/Cargo.toml
+2 −0 tests/testsuite/cargo_add/add_toolchain/stderr.log
+0 −0 tests/testsuite/cargo_add/add_toolchain/stdout.log
+1 −0 tests/testsuite/cargo_add/mod.rs
+61 −1 tests/testsuite/config.rs
+1 −1 tests/testsuite/cross_compile.rs
+14 −0 tests/testsuite/install.rs
+7 −6 tests/testsuite/profile_config.rs
+27 −24 tests/testsuite/profile_targets.rs
+20 −13 tests/testsuite/profiles.rs
+2 −2 tests/testsuite/run.rs
+11 −11 tests/testsuite/rustc.rs