rust/src/tools
Matthias Krüger 86d39a0673
Rollup merge of #146340 - fmease:frontmatter-containment, r=fee1-dead,Urgau
Strip frontmatter in fewer places

* Stop stripping frontmatter in `proc_macro::Literal::from_str` (RUST-146132)
* Stop stripping frontmatter in expr-ctxt (but not item-ctxt!) `include`s (RUST-145945)
* Stop stripping shebang (!) in `proc_macro::Literal::from_str`
  * Not a breaking change because it did compare spans already to ensure there wasn't extra whitespace or comments (`Literal::from_str("#!\n0")` already yields `Err(_)` thankfully!)
* Stop stripping frontmatter+shebang inside some rustdoc code where it doesn't make any observable difference (see self review comments)
* (Stop stripping frontmatter+shebang inside internal test code)

Fixes https://github.com/rust-lang/rust/issues/145945.
Fixes https://github.com/rust-lang/rust/issues/146132.

r? fee1-dead
2025-09-10 20:29:09 +02:00
..
build-manifest Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
bump-stage0 bump-stage0: pick highest common toml version, add a workaround 2025-09-06 16:33:11 +08:00
cargo@761c4658d0 Update cargo submodule 2025-09-03 22:30:01 -07:00
cargotest
clippy Rollup merge of #146340 - fmease:frontmatter-containment, r=fee1-dead,Urgau 2025-09-10 20:29:09 +02:00
collect-license-metadata Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
compiletest compiletest: implement {run-make,run-make-cargo} test suite split 2025-09-05 21:22:50 +08:00
coverage-dump Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
enzyme@58af4e9e6c update enzyme submodule to handle llvm 21 2025-08-07 16:31:00 -07:00
error_index_generator
features-status-dump Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
generate-copyright Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
generate-windows-sys
html-checker rustdoc: add rustdoc top bar web component 2025-08-18 08:40:01 -07:00
jsondocck Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
jsondoclint Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
libcxx-version
linkchecker fix partial urlencoded link support 2025-09-08 11:08:40 -07:00
lint-docs Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
lld-wrapper
llvm-bitcode-linker Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
miri Rollup merge of #146178 - folkertdev:static-align, r=jdonszelmann,ralfjung,traviscross 2025-09-10 14:17:38 +02:00
miropt-test-tools miropt: move to edition 2024 2025-07-22 15:02:34 +00:00
nix-dev-shell fixup nix dev shell again 2025-08-31 18:17:50 +02:00
opt-dist Revert introduction of [workspace.dependencies]. 2025-09-02 19:12:54 +10:00
remote-test-client remote-test-client: Exit code 128 + <signal-number> instead of 3 2025-07-04 20:44:26 +02:00
remote-test-server
replace-version-placeholder
run-make-support run-make-support: handle unavailable in-tree cargo under run-make test suite 2025-09-05 21:22:50 +08:00
rust-analyzer remove P 2025-08-09 15:47:01 +08:00
rust-installer Update README.md 2025-06-29 12:29:28 +03:00
rustbook cargo update 2025-08-18 11:28:41 +00:00
rustc-perf@dde879cf10 Update rustc-perf submodule 2025-07-29 16:18:52 +02:00
rustdoc
rustdoc-gui-test Simplify rustdoc-gui tester by calling directly browser-ui-test 2025-09-06 20:34:26 +02:00
rustdoc-js Strenghten rustdoc js tester file macthing regex 2025-08-19 15:08:57 +02:00
rustdoc-themes
rustfmt Strip frontmatter in fewer places 2025-09-09 19:49:40 +02:00
test-float-parse Remove uncessary parens in closure body with unused lint 2025-07-10 09:25:56 +08:00
tidy Rollup merge of #146001 - bjorn3:update_getopts, r=davidtwco 2025-09-09 17:32:21 +02:00
tier-check tiercheck: edition 2024 2025-07-14 08:30:27 +00:00
unicode-table-generator optimization: Don't include ASCII characters in Unicode tables 2025-09-07 15:21:24 +02:00
unstable-book-gen Rollup merge of #141624 - jyn514:env-var-stubs, r=BoxyUwU 2025-08-10 19:45:45 +10:00
wasm-component-ld Update wasm-component-ld to 0.5.17 2025-09-09 10:30:03 -07:00
x x: use let-else 2025-07-11 05:38:05 +00:00
cherry-pick.sh
publish_toolstate.py