rust/src/tools
Trevor Gross 9439e02fb2 Unite bless environment variables under RUSTC_BLESS
Currently, Clippy, Miri, Rustfmt, and rustc all use an environment variable to
indicate that output should be blessed, but they use different variable names.
In order to improve consistency, this patch applies the following changes:

- Emit `RUSTC_BLESS` within `prepare_cargo_test` so it is always
  available
- Change usage of `MIRI_BLESS` in the Miri subtree to use `RUSTC_BLESS`
- Change usage of `BLESS` in the Clippy subtree to `RUSTC_BLESS`
- Change usage of `BLESS` in the Rustfmt subtree to `RUSTC_BLESS`
- Adjust the blessable test in `rustc_errors` to use this same
  convention
- Update documentation where applicable

Any tools that uses `RUSTC_BLESS` should check that it is set to any value
other than `"0"`.
2023-07-26 16:54:02 -04:00
..
build-manifest compiler: Add x86_64-unikraft-linux-musl target 2023-07-24 18:24:50 +02:00
build_helper Split nested GHA groups instead of panicking 2023-07-25 21:16:57 +02:00
bump-stage0 Upgrade to indexmap 2.0.0 2023-07-03 13:51:54 -07:00
cargo@7ac9416d82 Update cargo 2023-07-24 12:16:48 -05:00
cargotest
clippy Unite bless environment variables under RUSTC_BLESS 2023-07-26 16:54:02 -04:00
collect-license-metadata Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
compiletest Auto merge of #113893 - mdibaiee:type-name-spill-flag, r=compiler-errors 2023-07-26 00:46:06 +00:00
error_index_generator Provide more context for rustc +nightly -Zunstable-options on stable 2023-06-27 23:23:33 +08:00
expand-yaml-anchors Run expand-yaml-anchors in x test tidy 2023-02-05 14:46:52 -06:00
generate-copyright Fix remaining typos 2023-04-10 21:02:49 +02:00
generate-windows-sys Move arm32 shim to c.rs 2023-06-24 17:30:27 +01:00
html-checker
jsondocck Allow to have - in the rustdoc-json test file name 2023-07-12 10:45:49 +02:00
jsondoclint Allow to have - in the rustdoc-json test file name 2023-07-12 10:45:49 +02:00
linkchecker Appease lints 2023-05-14 22:00:23 +02:00
lint-docs Revert "Fix x test lint-docs when download-rustc is enabled" 2023-07-11 22:30:28 -05:00
lld-wrapper
miri Unite bless environment variables under RUSTC_BLESS 2023-07-26 16:54:02 -04:00
miropt-test-tools add way to split mir-opt into panic=abort and panic=unwind 2023-06-12 09:34:14 +02:00
opt-dist Use log groups in opt-dist 2023-07-16 10:36:13 +02:00
remote-test-client
remote-test-server
replace-version-placeholder Only depend on CFG_VERSION in rustc_interface 2023-05-17 23:54:21 -05:00
rls Don't use serde-derive in the rls shim 2023-07-10 14:53:57 -07:00
rust-analyzer Merge commit '99718d0c8b' into sync-from-ra 2023-07-24 12:21:34 +03:00
rust-demangler
rust-installer rust-installer: Use env(1) in the shebang. 2023-07-21 17:55:49 -07:00
rustbook bump few deps 2023-04-06 18:21:37 +03:00
rustdoc
rustdoc-gui Transform backslash into slashes in DOC_FOLDER variable for browser-ui-test 2023-06-14 10:37:56 +02:00
rustdoc-gui-test Make try_run return a Result<(), ()> instead of a boolean 2023-06-23 17:07:34 +02:00
rustdoc-js Change format of rustdoc-js tests by putting query and correction directly alongside the expected values 2023-06-09 17:00:47 +02:00
rustdoc-themes
rustfmt Unite bless environment variables under RUSTC_BLESS 2023-07-26 16:54:02 -04:00
suggest-tests Fix the test directories suggested by ./x.py suggest 2023-04-30 11:05:13 +10:00
tidy add tidy check that forbids issue ui test filenames 2023-07-26 00:03:10 -04:00
tier-check
unicode-table-generator remove some unneeded imports 2023-04-12 19:27:18 +02:00
unstable-book-gen
x Add other workspaces to linkedProjects in rust_analyzer_settings.json 2023-05-26 12:08:58 -05:00
cherry-pick.sh
publish_toolstate.py Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00