Skip to content

Commit 6dbfb2d

Browse files
committed
make cfg(miri) greppable
1 parent c830142 commit 6dbfb2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ Linux program, you can do `cargo miri run --target x86_64-unknown-linux-gnu`.
9494
This is particularly useful if you are using Windows, as the Linux target is
9595
much better supported than Windows targets.
9696

97-
When compiling code via `cargo miri`, the `miri` config flag is set. You can
98-
use this to ignore test cases that fail under Miri because they do things Miri
99-
does not support:
97+
When compiling code via `cargo miri`, the `cfg(miri)` config flag is set. You
98+
can use this to ignore test cases that fail under Miri because they do things
99+
Miri does not support:
100100

101101
```rust
102102
#[test]

0 commit comments

Comments
 (0)