rust/src/tools
bors 0eb5efc7ae Auto merge of #113298 - tgross35:update-bless-envs, r=oli-obk
Unite bless environment variables under `RUST_BLESS`

Currently, Clippy and Miri both 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:

- Rename the variable `MIRI_BLESS` (as used in the Miri subtree) to `RUST_BLESS`
- Rename the variable `BLESS` (as used in the Clippy subtree) to `RUST_BLESS`
- Move emitting `RUST_BLESS` into `prepare_cargo_test` so it is always available (I need this for a WIP PR)

---

I prefer something like `RUST_BLESS` to `BLESS` just for a lower chance of conflict (not super common but other tools [do use `BLESS`](https://grep.app/search?q=%22BLESS%22&case=true&words=true&filter[lang][0]=Text&filter[lang][1]=Rust&filter[lang][2]=Python&filter[lang][3]=C%2B%2B&filter[lang][4]=Markdown&filter[lang][5]=C&filter[lang][6]=JSON)), but I can change it to whatever is preferred.

Original discussion: https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/BLESS.20env.20var.3A.20rename.20to.20CLIPPY_BLESS

r? `@oli-obk`
cc `@flip1995`
2023-07-27 17:45:11 +00: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 Auto merge of #113298 - tgross35:update-bless-envs, r=oli-obk 2023-07-27 17:45:11 +00:00
collect-license-metadata Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
compiletest Rollup merge of #114032 - tshepang:patch-1, r=GuillaumeGomez 2023-07-27 16:05:12 +02: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 Auto merge of #113298 - tgross35:update-bless-envs, r=oli-obk 2023-07-27 17:45:11 +00: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 Use u32 methods instead of manual shifting 2022-12-23 16:08:23 +05:30
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 Replace in-tree rustc_apfloat with the new version of the crate 2023-07-26 10:20:15 -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