rust/src/tools
bors 0aaad9e757 Auto merge of #102565 - jyn514:refactor-build-manifest, r=Mark-Simulacrum
Refactor build-manifest to minimize the number of changes needed to add a new component

- Add all components to `PkgType`
- Automate functionality wherever possible, so functions often don't have to be manually edited
- Where that's not possible, use exhaustive matches on `PkgType` instead of adding individual strings.
- Add documentation for how to add a component. Improve the existing documentation for how to test changes.

I tested locally that this generates an identical manifest before and after my change, as follows:
```sh
git checkout d44e14225a
cargo +nightly run --manifest-path src/tools/build-manifest/Cargo.toml build/dist build/manifest-before 1970-01-01 http://example.com nightly
git checkout refactor-build-manifest
cargo +nightly run --manifest-path src/tools/build-manifest/Cargo.toml build/dist build/manifest-before 1970-01-01 http://example.com nightly
sort -u build/manifest-before/channel-rust-nightly.toml | diff - <(sort -u build/manifest-after/channel-rust-nightly.toml)
```
I then verified by hand that the differences before sorting are inconsequential (mostly targets being slightly reordered).

The only change in behavior is that `llvm-tools` is now properly renamed to `llvm-tools-preview`:
```
; sort -u build/manifest-before/channel-rust-nightly.toml | diff - <(sort -u build/manifest-after/channel-rust-nightly.toml)
784a785
> [renames.llvm-tools]
894a896
> to = "llvm-tools-preview"
```

This is based on https://github.com/rust-lang/rust/pull/102241 and should not be merged before.
2022-11-09 10:24:27 +00:00
..
build-manifest Remove unnecessary argument to package 2022-10-30 16:43:56 -05:00
bump-stage0 Upgrade indexmap and thorin-dwp to use hashbrown 0.12 2022-07-17 07:05:58 -07:00
cargo@9286a1beba Update cargo 2022-11-04 23:51:04 +00:00
cargotest Override linker in cargotest on windows 2022-10-23 19:33:03 -05:00
clippy Rollup merge of #103660 - ozkanonur:master, r=jyn514 2022-11-05 11:31:28 +05:30
compiletest Auto merge of #103298 - ferrocene:pa-compile-flags-last, r=jyn514 2022-11-04 22:24:46 +00:00
error_index_generator Fix tooltip display for error codes 2022-09-18 00:32:28 +02:00
expand-yaml-anchors
html-checker parallelize HTML checking tool 2022-07-29 23:26:38 -04:00
jsondocck Remove need to give JSON file path 2022-08-18 10:48:06 +02:00
jsondoclint Rustdoc-Json: List impls for primitives 2022-09-26 18:06:48 +01:00
linkchecker Ignore mailto links in linkchecker 2022-08-29 14:42:06 +02:00
lint-docs Add let_underscore lint group to GROUP_DESCRIPTIONS. 2022-06-04 20:12:26 -04:00
lld-wrapper fix lld-wrapper lld flavor detection 2022-09-07 14:51:54 +02:00
miri Rollup merge of #103660 - ozkanonur:master, r=jyn514 2022-11-05 11:31:28 +05:30
miropt-test-tools Detect unused files in src/test/mir-opt and error on them in tidy. 2022-10-31 21:45:41 -07:00
remote-test-client tools/remote-test-{server,client}: Use /data/local/tmp on Android 2022-10-06 13:42:32 -07:00
remote-test-server Show command line arguments 2022-10-12 14:30:06 +02:00
replace-version-placeholder Also replace the version placeholder in rustc_attr 2022-09-02 01:47:01 +02:00
rls Sunset RLS 2022-08-27 21:36:08 -07:00
rust-analyzer ⬆️ rust-analyzer 2022-11-01 11:31:31 +02:00
rust-demangler mangling_v0: Update tests for the rust-demangler tool 2022-01-08 11:39:34 +08:00
rust-installer@300b5ec61e Update submodule rust-installer 2022-07-09 09:49:05 -07:00
rustbook Update mdbook 2022-07-22 11:59:20 -07:00
rustc-workspace-hack update few crates to drop old deps 2022-08-31 23:35:57 +03:00
rustdoc rustdoc: Use unix_sigpipe instead of rustc_driver::set_sigpipe_handler 2022-10-24 20:40:46 +02:00
rustdoc-gui Improve error message when browser-ui-test crashes 2022-08-11 13:20:18 +02:00
rustdoc-js rustdoc: add hash to filename of toolchain files 2022-10-29 12:47:48 -07:00
rustdoc-themes
rustfmt Implement -Ztrack-diagnostics 2022-10-19 00:08:20 +02:00
tidy Tidy 2022-11-05 09:59:27 -03:00
tier-check
unicode-table-generator Address feedback from PR #101401 2022-09-04 08:07:53 -07:00
unstable-book-gen unstable-book-gen: use std::fs::write 2022-08-28 00:40:58 +02:00
x fix: better error when python not found in x 2022-08-01 13:33:59 +01:00
cherry-pick.sh
publish_toolstate.py Remove miri from the submodule list and require it for CI to pass 2022-09-21 15:35:53 +00:00