Skip to content

Commit

Permalink
Update cargo
Browse files Browse the repository at this point in the history
12 commits in e84a7928d93a31f284b497c214a2ece69b4d7719..82c3bb79e3a19a5164e33819ef81bfc2c984bc56
2023-01-31 22:18:09 +0000 to 2023-02-04 22:52:16 +0000

- util toml targets: Do not infer directory as a file (rust-lang/cargo#11678)
- Add more guidance on how to implement unstable features (rust-lang/cargo#11675)
- Fix unstable chapter layout for codegen-backend (rust-lang/cargo#11676)
- refactor: mod.rs over "name".rs for consistency (rust-lang/cargo#11673)
- Verify source before recompile (rust-lang/cargo#11672)
- doc: more doc comments and intra-doc links (rust-lang/cargo#11669)
- Turn off debuginfo for build dependencies v2 (rust-lang/cargo#11252)
- config: Deny CARGO_HOME in [env] table (fixes rust-lang/cargo#11590) (rust-lang/cargo#11644)
- Fix the wrong comment (rust-lang/cargo#11651)
- Add partial support for SSH known hosts markers (rust-lang/cargo#11635)
- Replace `winapi` with `windows-sys` crate. (rust-lang/cargo#11656)
- Handle .cargo-ok being truncated (rust-lang/cargo#11665)
  • Loading branch information
weihanglo committed Feb 7, 2023
1 parent bd39bbb commit 6f38fd5
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 25 deletions.
72 changes: 48 additions & 24 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ dependencies = [
"unicode-xid",
"url",
"walkdir",
"winapi",
"windows-sys 0.45.0",
]

[[package]]
Expand Down Expand Up @@ -436,7 +436,7 @@ name = "cargo-credential-wincred"
version = "0.2.0"
dependencies = [
"cargo-credential",
"winapi",
"windows-sys 0.45.0",
]

[[package]]
Expand Down Expand Up @@ -496,7 +496,7 @@ dependencies = [
"time 0.3.17",
"toml_edit",
"url",
"winapi",
"windows-sys 0.45.0",
]

[[package]]
Expand All @@ -516,7 +516,7 @@ dependencies = [
"shell-escape",
"tempfile",
"walkdir",
"winapi",
"windows-sys 0.45.0",
]

[[package]]
Expand Down Expand Up @@ -2217,7 +2217,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46112a93252b123d31a119a8d1a1ac19deac4fac6e0e8b0df58f0d4e5870e63c"
dependencies = [
"libc",
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand All @@ -2229,7 +2229,7 @@ dependencies = [
"hermit-abi 0.2.6",
"io-lifetimes",
"rustix",
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand Down Expand Up @@ -2670,7 +2670,7 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52ffbca2f655e33c08be35d87278e5b18b89550a37dbd598c20db92f6a471123"
dependencies = [
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand Down Expand Up @@ -2987,7 +2987,7 @@ dependencies = [
"libc",
"redox_syscall",
"smallvec",
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand Down Expand Up @@ -4969,7 +4969,7 @@ dependencies = [
"io-lifetimes",
"libc",
"linux-raw-sys",
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand Down Expand Up @@ -5499,7 +5499,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb20089a8ba2b69debd491f8d2d023761cbf196e999218c591fa1e7e15a21907"
dependencies = [
"rustix",
"windows-sys",
"windows-sys 0.42.0",
]

[[package]]
Expand Down Expand Up @@ -6251,47 +6251,71 @@ dependencies = [
"windows_x86_64_msvc",
]

[[package]]
name = "windows-sys"
version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
dependencies = [
"windows-targets",
]

[[package]]
name = "windows-targets"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]

[[package]]
name = "windows_aarch64_gnullvm"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e"
checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"

[[package]]
name = "windows_aarch64_msvc"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4"
checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"

[[package]]
name = "windows_i686_gnu"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7"
checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"

[[package]]
name = "windows_i686_msvc"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246"
checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"

[[package]]
name = "windows_x86_64_gnu"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed"
checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45"

[[package]]
name = "windows_x86_64_gnullvm"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028"
checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"

[[package]]
name = "windows_x86_64_msvc"
version = "0.42.0"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5"
checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"

[[package]]
name = "writeable"
Expand Down
2 changes: 1 addition & 1 deletion src/tools/cargo
Submodule cargo updated 45 files
+9 −18 Cargo.toml
+1 −1 crates/cargo-test-support/Cargo.toml
+1 −1 crates/cargo-test-support/src/paths.rs
+1 −1 crates/cargo-util/Cargo.toml
+3 −2 crates/cargo-util/src/paths.rs
+4 −4 crates/cargo-util/src/process_builder.rs
+2 −3 crates/cargo-util/src/process_error.rs
+1 −1 crates/cargo-util/src/read2.rs
+1 −1 crates/credential/cargo-credential-wincred/Cargo.toml
+29 −20 crates/credential/cargo-credential-wincred/src/main.rs
+2 −7 crates/home/Cargo.toml
+1 −1 crates/home/src/lib.rs
+4 −12 crates/home/src/windows.rs
+2 −0 src/cargo/core/compiler/build_context/mod.rs
+19 −3 src/cargo/core/compiler/context/compilation_files.rs
+15 −1 src/cargo/core/compiler/context/mod.rs
+10 −0 src/cargo/core/compiler/crate_type.rs
+30 −2 src/cargo/core/compiler/custom_build.rs
+4 −0 src/cargo/core/compiler/fingerprint/dirty_reason.rs
+111 −74 src/cargo/core/compiler/fingerprint/mod.rs
+1 −1 src/cargo/core/compiler/job_queue.rs
+2 −2 src/cargo/core/compiler/mod.rs
+40 −0 src/cargo/core/features.rs
+114 −7 src/cargo/core/profiles.rs
+13 −8 src/cargo/core/shell.rs
+74 −11 src/cargo/ops/cargo_compile/mod.rs
+9 −10 src/cargo/ops/registry.rs
+312 −52 src/cargo/sources/git/known_hosts.rs
+13 −6 src/cargo/sources/registry/mod.rs
+1 −1 src/cargo/util/auth.rs
+9 −2 src/cargo/util/config/mod.rs
+3 −2 src/cargo/util/cpu.rs
+15 −7 src/cargo/util/flock.rs
+17 −12 src/cargo/util/job.rs
+3 −3 src/cargo/util/toml/targets.rs
+12 −3 src/doc/src/reference/profiles.md
+29 −31 src/doc/src/reference/unstable.md
+13 −1 tests/testsuite/build.rs
+95 −2 tests/testsuite/build_script.rs
+26 −0 tests/testsuite/cargo_env_config.rs
+8 −0 tests/testsuite/features2.rs
+71 −1 tests/testsuite/freshness.rs
+3 −3 tests/testsuite/profile_config.rs
+38 −22 tests/testsuite/profile_targets.rs
+45 −0 tests/testsuite/registry.rs

0 comments on commit 6f38fd5

Please sign in to comment.