File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -361,9 +361,10 @@ Moreover, Miri recognizes some environment variables:
361
361
checkout. Note that changing files in that directory does not automatically
362
362
trigger a re-build of the standard library; you have to clear the Miri build
363
363
cache manually (on Linux, `rm -rf ~/.cache/miri`).
364
- * `MIRI_SYSROOT` (recognized by `cargo miri` and the test suite)
365
- indicates the sysroot to use. To do the same thing with `miri`
366
- directly, use the `--sysroot` flag.
364
+ * `MIRI_SYSROOT` (recognized by `cargo miri` and the test suite) indicates the
365
+ sysroot to use. Only set this if you do not want to use the automatically
366
+ created sysroot. (The `miri` driver sysroot is controlled via the `--sysroot`
367
+ flag instead.)
367
368
* `MIRI_TEST_TARGET` (recognized by the test suite) indicates which target
368
369
architecture to test against. `miri` and `cargo miri` accept the `--target`
369
370
flag for the same purpose.
You can’t perform that action at this time.
0 commit comments