Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit bfa2ff6

Browse files
committed
Use a MIRI namespaced env var name for auto ops
1 parent 392342f commit bfa2ff6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ to `.vscode/settings.json` in your local Miri clone:
169169
],
170170
"rust-analyzer.checkOnSave.overrideCommand": [
171171
"env",
172-
"AUTO_OPS=42",
172+
"MIRI_AUTO_OPS=no",
173173
"./miri",
174174
"check",
175175
"--message-format=json"
176176
],
177177
"rust-analyzer.buildScripts.overrideCommand": [
178178
"env",
179-
"AUTO_OPS=42",
179+
"MIRI_AUTO_OPS=no",
180180
"./miri",
181181
"check",
182182
"--message-format=json",

miri

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ EOF
5353
MIRIDIR=$(python3 -c 'import os, sys; print(os.path.dirname(os.path.realpath(sys.argv[1])))' "$0")
5454

5555
## Run the auto-things.
56-
if [ -z "$AUTO_OPS" ]; then
57-
export AUTO_OPS=42
56+
if [ -z "$MIRI_AUTO_OPS" ]; then
57+
export MIRI_AUTO_OPS=42
5858

5959
# Run this first, so that the toolchain doesn't change after
6060
# other code has run.

0 commit comments

Comments
 (0)