File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ Now you can run your project in Miri:
48
48
3 . If you have a binary project, you can run it through Miri using `cargo
49
49
+nightly miri run`.
50
50
51
+ You can pass arguments to Miri after the first ` -- ` , and pass arguments to the
52
+ interpreted program or test suite after the second ` -- ` . For example, `cargo
53
+ +nightly miri run -- -Zmiri-disable-validation` runs the program without
54
+ validation of basic type invariants and references. `cargo +nightly miri test
55
+ -- -- filter` passes ` filter` to the test suite the same way ` cargo test filter`
56
+ would.
57
+
51
58
When running code via ` cargo miri ` , the ` miri ` config flag is set. You can
52
59
use this to exclude test cases that will fail under Miri because they do things
53
60
Miri does not support:
You can’t perform that action at this time.
0 commit comments