rust/src/tools
Nicholas Nethercote 7fa8901cd0 rustdoc_json: represent generic args consistently.
They show up in three places: once as `Option<Box<GenericArgs>>`, once
as `Box<GenericArgs>`, and once as `GenericArgs`. The first option is
best. It is more compact because generic args are often missing. This
commit changes the latter two to the former.

Example output, before and after, for the `AssocItemConstraint` change:
```
{"name":"Offset","args":{"angle_bracketed":{"args":[],"constraints":[]}},"binding":{...}}
{"name":"Offset","args":null,"binding":{...}}
```
Example output, before and after, for the `Type::QualifiedPath` change:
```
{"qualified_path":{"name":"Offset","args":{"angle_bracketed":{"args":[],"constraints":[]}}, ...}}
{"qualified_path":{"name":"Offset","args":null, ...}}
```
This reduces JSON output size, but not by much (e.g. 0.5%), because
`AssocItemConstraint` and `Type::QualifiedPath` are uncommon.
2025-06-21 13:52:46 +10:00
..
build-manifest Rollup merge of #142053 - heiher:loong32-none, r=wesleywiser 2025-06-08 17:17:53 -07:00
bump-stage0 Remove git_repository field from GitConfig 2025-04-23 10:41:20 +02:00
cargo@2251525ae5 Update cargo 2025-06-17 09:13:12 -07:00
cargotest
clippy Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35 2025-06-20 23:09:48 +00:00
collect-license-metadata
compiletest Auto merge of #142689 - Urgau:rollup-4ho6835, r=Urgau 2025-06-18 21:19:39 +00:00
coverage-dump Update miniz_oxide dependency of coverage_dump 2025-05-10 18:35:20 +02:00
enzyme@a35f4f7731 update enzyme to handle range metadata 2025-02-28 03:53:22 -05:00
error_index_generator Move error_index_generator to the rustbook workspace 2025-02-17 10:58:15 -08:00
features-status-dump Remove backtrace dep from anyhow in features status dump tool 2025-05-01 07:45:47 -04:00
generate-copyright Rollup merge of #141789 - ferrocene:hoverbear/exclude-cargo-home-from-in-tree-consideration, r=clubby789 2025-06-01 19:35:44 +02:00
generate-windows-sys Update windows-bindgen to 0.61.0 2025-04-04 16:41:40 +00:00
html-checker
jsondocck jsondocck: Explain what KNOWN_DIRECTIVE_NAMES is doing 2025-06-05 11:33:38 +00:00
jsondoclint rustdoc_json: represent generic args consistently. 2025-06-21 13:52:46 +10:00
libcxx-version
linkchecker bump html5ever to 0.29 with deps 2025-03-13 19:59:53 +03:00
lint-docs Avoid including text direction codepoints in lint messages 2025-05-27 15:57:41 +00:00
lld-wrapper
llvm-bitcode-linker Pass through of target features to llvm-bitcode-linker and handling them 2025-02-16 21:57:03 +01:00
miri Rollup merge of #142507 - folkertdev:fn-align-align-attribute, r=jdonszelmann 2025-06-18 20:22:49 -04:00
miropt-test-tools
nix-dev-shell Deduplicate nix code 2025-04-17 00:01:04 -04:00
opt-dist Bump rustc-perf and update PGO crates 2025-05-29 09:00:36 +00:00
remote-test-client
remote-test-server
replace-version-placeholder
run-make-support Enable run-make-support auto cross-compilation for rustdoc too 2025-06-18 18:39:28 +08:00
rust-analyzer Auto merge of #142567 - lnicola:sync-from-ra, r=lnicola 2025-06-17 21:13:37 +00:00
rust-installer
rustbook Update libc to 0.2.174 2025-06-17 18:03:45 +00:00
rustc-perf@6a70166b92 Bump rustc-perf and update PGO crates 2025-05-29 09:00:36 +00:00
rustdoc librustdoc: 2024 edition! 🎊 2025-03-04 12:35:18 +02:00
rustdoc-gui
rustdoc-gui-test Improve error output in case nodejs or npm is not installed for rustdoc-gui test suite 2025-05-01 17:42:22 +02:00
rustdoc-js tester.js: ignore displayTypeSignature if it is null 2025-03-27 16:00:44 -05:00
rustdoc-themes
rustfmt Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35 2025-06-20 23:09:48 +00:00
suggest-tests Remove git_repository field from GitConfig 2025-04-23 10:41:20 +02:00
test-float-parse move test-float-parse tool into src/tools dir 2025-06-03 11:05:51 +03:00
tidy Auto merge of #140748 - m-ou-se:super-format-args3, r=jdonszelmann 2025-06-19 19:13:32 +00:00
tier-check
unicode-table-generator Remove unneeded parentheses. 2025-03-08 12:56:00 +01:00
unstable-book-gen Rollup merge of #141526 - jyn514:env-vars, r=petrochenkov 2025-05-27 01:29:21 +08:00
wasm-component-ld Update wasm-component-ld to 0.5.13 2025-04-23 14:37:17 -07:00
x Add src/tools/x to the main workspace 2025-03-13 12:18:32 -07:00
cherry-pick.sh
publish_toolstate.py