Skip to content

Unite bless environment variables under RUSTC_BLESS#113298

Merged
bors merged 1 commit intorust-lang:masterfrom
tgross35:update-bless-envs
Jul 27, 2023
Merged

Unite bless environment variables under RUSTC_BLESS#113298
bors merged 1 commit intorust-lang:masterfrom
tgross35:update-bless-envs

Conversation

@tgross35
Copy link
Copy Markdown
Contributor

@tgross35 tgross35 commented Jul 3, 2023

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), 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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.