Commit 83709ee
committed
Auto merge of #159857 - weihanglo:update-cargo, r=ranger-ross
Update cargo submodule
## src/tools/cargo
23 commits in 3efb1f477e99b42974b982d939fd100303cdf7db..7c83d4cc0953b81d823e47d640c64da9b8bd4fac
2026-07-17 23:53:19 +0000 to 2026-07-29 21:34:53 +0000
- fix: Pass rustdoc flags to final CCI merge step (rust-lang/cargo#17269)
- Reworked how we enable the new build-dir layout on nightly (rust-lang/cargo#17272)
- Allow setting `-Zembed-metadata` value from the config (rust-lang/cargo#17266)
- fix(cli): don't panic during completions when rustup is unavailable (rust-lang/cargo#17263)
- docs(workspace): add recommended structure to members field (rust-lang/cargo#17166)
- Update cargo-fetch.md to remove cargo-prefetch reference (rust-lang/cargo#16568)
- chore: bump to `libgit2-sys@0.18.7+1.9.6` (rust-lang/cargo#17259)
- Enable build-dir layout v2 on nightly by default (rust-lang/cargo#17258)
- fix(path): clarify error message when path dependency has wrong package (rust-lang/cargo#16927)
- fix(toml): warn on hyphenated lint names and duplicates (rust-lang/cargo#17051)
- fix(test): gate trim-paths tests on split debuginfo support (rust-lang/cargo#17256)
- test(git): Explicitly test for git injection attacks (rust-lang/cargo#17253)
- fix(git): Suggest libgit2 if git-cli fails (rust-lang/cargo#17252)
- fix(diag): bound transitive unused dependency traversal (rust-lang/cargo#17251)
- fix(git): Hide git fetch output without progress (rust-lang/cargo#17243)
- revert(lint): Remove `new_implicit_minimum_version_req` (rust-lang/cargo#16321) (rust-lang/cargo#17249)
- fix: Add haiku's dylib path (rust-lang/cargo#17248)
- Zsh completion: Add `-p` and `--package` flags for `cargo add` (rust-lang/cargo#17247)
- refactor(source): Clarify the name of the remote git registry (rust-lang/cargo#17240)
- fix(timings): only report units the job queue actually ran (rust-lang/cargo#17238)
- Do not include proc-macro deps in rustc search path args (rust-lang/cargo#17236)
- chore(deps): update cargo-semver-checks to v0.49.0 (rust-lang/cargo#17237)
- rustdoc: rename the doc parts metadata params (rust-lang/cargo#17234)
## src/tools/rustc-perf
12 commits in 0508bdcd37152b28c39b6752828683cdd3f128b5..74ecbcdf88411937a6e39baf2779948565dfd388
2026-07-15 10:20:27 +0000 to 2026-07-27 15:02:48 +0000
- feat: support `@argfile` for rustc-fake (rust-lang/rustc-perf#2509)
- Download Clippy when a Clippy profile is requested (rust-lang/rustc-perf#2508)
- Add early check for missing rustdoc/clippy in a toolchain (rust-lang/rustc-perf#2507)
- Add 2026-07-21 triage (rust-lang/rustc-perf#2506)
- use stable extract_if: since 1.87 (rust-lang/rustc-perf#2191)
- Update GitHub Actions (rust-lang/rustc-perf#2460)
- Update dependency @types/msgpack-lite to v0.1.12 (rust-lang/rustc-perf#2439)
- Add 30 day history link to artifact size tab on the compare page (rust-lang/rustc-perf#2505)
- Fix selecting color for the bootstrap chart on the toolchain page (rust-lang/rustc-perf#2504)
- Add artifact size history chart to toolchain page (rust-lang/rustc-perf#2501)
- Parallel frontend compiler support (perf backend only) (rust-lang/rustc-perf#2491)
- Run benchmark smoke test for all profiles on Windows on CI (rust-lang/rustc-perf#2503)7 files changed
Lines changed: 55 additions & 30 deletions
File tree
- src/tools
- cargotest
- run-make-support/src
- tests/run-make-cargo
- compiler-builtins
- panic-immediate-abort-codegen
- .github/workflows/main.yml+1-1
- Cargo.lock+3-2
- crates/cargo-test-support/src/lib.rs+4
- crates/cargo-util-terminal/Cargo.toml+1
- crates/cargo-util-terminal/src/shell.rs+15
- crates/cargo-util/src/paths.rs+2
- doc/book/src/commands/cargo-fetch.md-4
- doc/book/src/reference/lints.md-53
- doc/book/src/reference/workspaces.md+4
- doc/man/cargo-fetch.md-4
- doc/man/generated_txt/cargo-fetch.txt-5
- etc/_cargo+1
- etc/man/cargo-fetch.1-4
- src/bin/cargo/cli.rs+7-3
- src/compiler/compilation.rs+13-2
- src/compiler/fingerprint/rustdoc.rs+5-5
- src/compiler/mod.rs+8-2
- src/compiler/timings/mod.rs+1-1
- src/context/mod.rs+1-6
- src/diagnostics/rules/implicit_minimum_version_req.rs-361
- src/diagnostics/rules/mod.rs-10
- src/diagnostics/rules/unused_dependencies.rs+10-4
- src/ops/cargo_doc.rs+3-3
- src/ops/cargo_report/timings.rs+42-7
- src/resolver/errors.rs+72
- src/sources/git/utils.rs+33-9
- src/sources/path.rs+22-14
- src/sources/registry/download.rs+2-2
- src/sources/registry/git_remote.rs+13-17
- src/sources/registry/index/cache.rs+2-2
- src/sources/registry/index/mod.rs+4-4
- src/sources/registry/mod.rs+5-5
- src/util/errors.rs+24-3
- src/util/network/retry.rs+2-2
- src/util/progress.rs+8-16
- src/workspace/features.rs+24-25
- src/workspace/parser/mod.rs+16
- tests/testsuite/build.rs+107
- tests/testsuite/build_dir.rs+2-2
- tests/testsuite/cargo_add/invalid_path/stderr.term.svg+2-20
- tests/testsuite/cargo_report_timings/mod.rs+77
- tests/testsuite/config.rs+18
- tests/testsuite/doc.rs+57-31
- tests/testsuite/git.rs+265-4
- tests/testsuite/install.rs+1-4
- tests/testsuite/lints/implicit_minimum_version_req.rs-1.2k
- tests/testsuite/lints/mod.rs+8-10
- tests/testsuite/lints/unknown_lints.rs+9-9
- tests/testsuite/lints_table.rs+67-7
- tests/testsuite/path.rs+141-41
- tests/testsuite/profile_trim_paths.rs+4-2
- tests/testsuite/timings.rs+81
- tests/testsuite/workspaces.rs+3-13
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
62 | 86 | | |
63 | 87 | | |
64 | 88 | | |
| |||
Submodule rustc-perf updated 50 files
- .github/workflows/beta-stable-benchmarks.yml+2-2
- .github/workflows/ci.yml+52-23
- .github/workflows/deploy.yml+4-4
- .github/workflows/nightly.yml+5-5
- ci/check-profiling.sh+102-86
- collector/README.md+7-3
- collector/src/arg_file_command.rs+121
- collector/src/bin/collector.rs+101-36
- collector/src/bin/rustc-fake.rs+65-6
- collector/src/compile/benchmark/mod.rs+90-51
- collector/src/compile/benchmark/parallel_frontend.rs+42
- collector/src/compile/execute/bencher.rs+8
- collector/src/compile/execute/mod.rs+25-6
- collector/src/compile/execute/profiler.rs+8-3
- collector/src/lib.rs+9
- collector/src/self_profile.rs+132-61
- collector/src/toolchain.rs+32-3
- database/schema.md+27-24
- database/src/bin/import-sqlite.rs+2-1
- database/src/bin/postgres-to-sqlite.rs+3-2
- database/src/bin/sqlite-to-postgres.rs+5-3
- database/src/lib.rs+56-13
- database/src/pool.rs+12-1
- database/src/pool/postgres.rs+86-12
- database/src/pool/sqlite.rs+65-7
- database/src/selector.rs+29-13
- docs/glossary.md+9-7
- site/frontend/package-lock.json+4-3
- site/frontend/package.json+3-3
- site/frontend/src/pages/bootstrap.ts-5
- site/frontend/src/pages/bootstrap/state.ts-13
- site/frontend/src/pages/compare/artifact-size/artifact-size-table.vue+11
- site/frontend/src/pages/toolchain.ts+5
- site/frontend/src/pages/toolchain/data-selector.vue
- site/frontend/src/pages/toolchain/page.vue+15-12
- site/frontend/src/pages/toolchain/plots.ts+103-36
- site/frontend/src/pages/toolchain/state.ts+14
- site/frontend/src/urls.ts+2-1
- site/frontend/templates/layout.html+1-1
- site/frontend/templates/pages/bootstrap.html-52
- site/frontend/templates/pages/toolchain.html+52
- site/src/api.rs+3-1
- site/src/job_queue/mod.rs+9-5
- site/src/job_queue/utils.rs-27
- site/src/request_handlers.rs+2-2
- site/src/request_handlers/graph.rs+3-1
- site/src/request_handlers/self_profile.rs+3-1
- site/src/request_handlers/toolchain.rs+10-7
- site/src/server.rs+7-5
- triage/2026/2026-07-21.md+172
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
Lines changed: 9 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
0 commit comments