Skip to content

Commit 1e14e66

Browse files
authored
Merge pull request #617 from RalfJung/cargo-miri
update docs
2 parents 1889b9f + 08180f0 commit 1e14e66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ Now you can run your project in Miri:
4848
3. If you have a binary project, you can run it through Miri using `cargo
4949
+nightly miri run`.
5050

51-
When running code via `cargo miri`, the `cargo-miri` feature is set. You can
51+
When running code via `cargo miri`, the `miri` config flag is set. You can
5252
use this to exclude test cases that will fail under Miri because they do things
5353
Miri does not support:
5454

5555
```rust
56-
#[cfg(not(feature = "cargo-miri"))]
56+
#[cfg(not(miri))]
5757
#[test]
5858
fn does_not_work_on_miri() {
5959
let x = 0u8;

0 commit comments

Comments
 (0)