1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ generation and linking obviously will have no effect) [and more][miri-flags].
60
60
For example, you can (cross-)run the driver on a particular file by doing
61
61
62
62
``` 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
65
65
```
66
66
67
67
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
79
79
` MIRI_LOG ` environment variable. For example:
80
80
81
81
``` sh
82
- MIRI_LOG=info ./miri run tests/run- pass/vec.rs
82
+ MIRI_LOG=info ./miri run tests/pass/vec.rs
83
83
```
84
84
85
85
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
88
88
stacked borrows implementation:
89
89
90
90
``` 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
92
92
```
93
93
94
94
In addition, you can set ` MIRI_BACKTRACE=1 ` to get a backtrace of where an
0 commit comments