Skip to content

Commit

Permalink
Rollup merge of rust-lang#92807 - ehuss:update-cargo, r=ehuss
Browse files Browse the repository at this point in the history
Update cargo

6 commits in 358e79fe56fe374649275ca7aebaafd57ade0e8d..06b9d31743210b788b130c8a484c2838afa6fc27
2022-01-04 18:39:45 +0000 to 2022-01-11 23:47:29 +0000
- Port cargo to clap3 (rust-lang/cargo#10265)
- feat: support rustflags per profile (rust-lang/cargo#10217)
- Make bors ignore the PR template so it doesn't end up in merge messages (rust-lang/cargo#10267)
- Be resilient to most IO error and filesystem loop while walking dirs (rust-lang/cargo#10214)
- Remove the option to disable pipelining (rust-lang/cargo#10258)
- Always ask rustc for messages about artifacts, and always process them (rust-lang/cargo#10255)
  • Loading branch information
matthiaskrgr authored Jan 13, 2022
2 parents ac81a13 + 66f1e32 commit a9fe2b9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 10 deletions.
54 changes: 45 additions & 9 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ dependencies = [
"cargo-test-macro",
"cargo-test-support",
"cargo-util",
"clap",
"clap 3.0.6",
"crates-io",
"crossbeam-utils 0.8.3",
"curl",
Expand Down Expand Up @@ -615,13 +615,28 @@ dependencies = [
"ansi_term 0.12.1",
"atty",
"bitflags",
"strsim",
"textwrap",
"strsim 0.8.0",
"textwrap 0.11.0",
"unicode-width",
"vec_map",
"yaml-rust 0.3.5",
]

[[package]]
name = "clap"
version = "3.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1957aa4a5fb388f0a0a73ce7556c5b42025b874e5cdc2c670775e346e97adec0"
dependencies = [
"atty",
"bitflags",
"indexmap",
"os_str_bytes",
"strsim 0.10.0",
"termcolor",
"textwrap 0.14.2",
]

[[package]]
name = "clippy"
version = "0.1.59"
Expand Down Expand Up @@ -652,7 +667,7 @@ version = "0.0.1"
dependencies = [
"bytecount",
"cargo_metadata 0.14.0",
"clap",
"clap 2.34.0",
"indoc",
"itertools 0.10.1",
"opener",
Expand Down Expand Up @@ -1758,7 +1773,7 @@ name = "installer"
version = "0.0.0"
dependencies = [
"anyhow",
"clap",
"clap 2.34.0",
"flate2",
"lazy_static",
"num_cpus",
Expand Down Expand Up @@ -2203,7 +2218,7 @@ dependencies = [
"ammonia",
"anyhow",
"chrono",
"clap",
"clap 2.34.0",
"elasticlunr-rs",
"env_logger 0.7.1",
"handlebars",
Expand Down Expand Up @@ -2534,6 +2549,15 @@ dependencies = [
"winapi",
]

[[package]]
name = "os_str_bytes"
version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
dependencies = [
"memchr",
]

[[package]]
name = "output_vt100"
version = "0.1.2"
Expand Down Expand Up @@ -2938,7 +2962,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fec2e85e7a30f8fd31b7cf288ad363b5e51fd2cb6f53b416b0cfaabd84e1ccb"
dependencies = [
"bitflags",
"clap",
"clap 2.34.0",
"derive_more",
"env_logger 0.7.1",
"humantime 2.0.1",
Expand Down Expand Up @@ -3293,7 +3317,7 @@ dependencies = [
name = "rustbook"
version = "0.1.0"
dependencies = [
"clap",
"clap 2.34.0",
"env_logger 0.7.1",
"mdbook",
]
Expand Down Expand Up @@ -5155,13 +5179,19 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"

[[package]]
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"

[[package]]
name = "structopt"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c"
dependencies = [
"clap",
"clap 2.34.0",
"lazy_static",
"structopt-derive",
]
Expand Down Expand Up @@ -5332,6 +5362,12 @@ dependencies = [
"unicode-width",
]

[[package]]
name = "textwrap"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"

[[package]]
name = "thiserror"
version = "1.0.30"
Expand Down
2 changes: 1 addition & 1 deletion src/tools/cargo
Submodule cargo updated 65 files
+2 −0 .github/PULL_REQUEST_TEMPLATE.md
+1 −1 Cargo.toml
+42 −36 src/bin/cargo/cli.rs
+4 −4 src/bin/cargo/commands/bench.rs
+1 −1 src/bin/cargo/commands/build.rs
+1 −1 src/bin/cargo/commands/check.rs
+1 −1 src/bin/cargo/commands/clean.rs
+8 −5 src/bin/cargo/commands/config.rs
+1 −1 src/bin/cargo/commands/doc.rs
+1 −1 src/bin/cargo/commands/fetch.rs
+7 −7 src/bin/cargo/commands/fix.rs
+1 −1 src/bin/cargo/commands/generate_lockfile.rs
+3 −3 src/bin/cargo/commands/git_checkout.rs
+2 −2 src/bin/cargo/commands/init.rs
+7 −3 src/bin/cargo/commands/install.rs
+3 −3 src/bin/cargo/commands/locate_project.rs
+2 −2 src/bin/cargo/commands/login.rs
+1 −1 src/bin/cargo/commands/logout.rs
+1 −1 src/bin/cargo/commands/metadata.rs
+1 −1 src/bin/cargo/commands/mod.rs
+2 −2 src/bin/cargo/commands/new.rs
+5 −5 src/bin/cargo/commands/owner.rs
+2 −2 src/bin/cargo/commands/package.rs
+2 −2 src/bin/cargo/commands/pkgid.rs
+1 −1 src/bin/cargo/commands/publish.rs
+1 −1 src/bin/cargo/commands/read_manifest.rs
+9 −4 src/bin/cargo/commands/report.rs
+6 −2 src/bin/cargo/commands/run.rs
+2 −2 src/bin/cargo/commands/rustc.rs
+2 −2 src/bin/cargo/commands/rustdoc.rs
+2 −2 src/bin/cargo/commands/search.rs
+5 −5 src/bin/cargo/commands/test.rs
+13 −27 src/bin/cargo/commands/tree.rs
+2 −2 src/bin/cargo/commands/uninstall.rs
+2 −2 src/bin/cargo/commands/update.rs
+21 −23 src/bin/cargo/commands/vendor.rs
+1 −1 src/bin/cargo/commands/verify_project.rs
+1 −1 src/bin/cargo/commands/version.rs
+2 −2 src/bin/cargo/commands/yank.rs
+1 −1 src/bin/cargo/main.rs
+4 −16 src/cargo/core/compiler/context/mod.rs
+1 −1 src/cargo/core/compiler/job_queue.rs
+27 −41 src/cargo/core/compiler/mod.rs
+3 −0 src/cargo/core/features.rs
+10 −2 src/cargo/core/profiles.rs
+4 −1 src/cargo/lib.rs
+1 −1 src/cargo/ops/cargo_compile.rs
+19 −5 src/cargo/sources/path.rs
+69 −57 src/cargo/util/command_prelude.rs
+1 −0 src/cargo/util/config/mod.rs
+6 −0 src/cargo/util/errors.rs
+10 −0 src/cargo/util/toml/mod.rs
+1 −6 src/doc/src/reference/config.md
+0 −2 src/doc/src/reference/environment-variables.md
+19 −0 src/doc/src/reference/unstable.md
+12 −10 tests/testsuite/build.rs
+0 −69 tests/testsuite/build_script.rs
+8 −10 tests/testsuite/cargo_config.rs
+1 −0 tests/testsuite/config.rs
+1 −1 tests/testsuite/metadata.rs
+1 −1 tests/testsuite/new.rs
+3 −4 tests/testsuite/package.rs
+98 −0 tests/testsuite/profiles.rs
+1 −1 tests/testsuite/run.rs
+1 −1 tests/testsuite/rustc.rs

0 comments on commit a9fe2b9

Please sign in to comment.