Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 328a8c7

Browse files
committedJun 29, 2022
Auto merge of rust-lang#2285 - LegNeato:patch-1, r=RalfJung
Update path to passing tests in CONTRIBUTING.md examples This appears to be renamed from `tests/run-pass` to `tests/pass`.
2 parents 062b660 + ad54919 commit 328a8c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ generation and linking obviously will have no effect) [and more][miri-flags].
6060
For example, you can (cross-)run the driver on a particular file by doing
6161

6262
```sh
63-
./miri run tests/run-pass/format.rs
64-
./miri run tests/run-pass/hello.rs --target i686-unknown-linux-gnu
63+
./miri run tests/pass/format.rs
64+
./miri run tests/pass/hello.rs --target i686-unknown-linux-gnu
6565
```
6666

6767
and you can (cross-)run the entire test suite using:
@@ -79,7 +79,7 @@ You can get a trace of which MIR statements are being executed by setting the
7979
`MIRI_LOG` environment variable. For example:
8080

8181
```sh
82-
MIRI_LOG=info ./miri run tests/run-pass/vec.rs
82+
MIRI_LOG=info ./miri run tests/pass/vec.rs
8383
```
8484

8585
Setting `MIRI_LOG` like this will configure logging for Miri itself as well as
@@ -88,7 +88,7 @@ can also do more targeted configuration, e.g. the following helps debug the
8888
stacked borrows implementation:
8989

9090
```sh
91-
MIRI_LOG=rustc_mir::interpret=info,miri::stacked_borrows ./miri run tests/run-pass/vec.rs
91+
MIRI_LOG=rustc_mir::interpret=info,miri::stacked_borrows ./miri run tests/pass/vec.rs
9292
```
9393

9494
In addition, you can set `MIRI_BACKTRACE=1` to get a backtrace of where an

0 commit comments

Comments
 (0)
Failed to load comments.