Skip to content

Commit bea6d83

Browse files
authored
Merge pull request #169 from RalfJung/cargo-run
fix 'cargo run' in README
2 parents e2a0998 + 5accdf4 commit bea6d83

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
@@ -16,7 +16,7 @@ rustup update nightly
1616

1717
You should also make `nightly` the default version for your Miri directory by
1818
running the following command while you're in it. If you don't do this, you can
19-
run the later `cargo` commands by prefixing them with `rustup run nightly`.
19+
run the later `cargo` commands by using `cargo +nightly` instead.
2020

2121
```sh
2222
rustup override add nightly
@@ -37,7 +37,7 @@ how to fix it, you could send a PR. :smile:
3737
## Running tests
3838

3939
```sh
40-
cargo run tests/run-pass/vecs.rs # Or whatever test you like.
40+
cargo run --bin miri tests/run-pass/vecs.rs # Or whatever test you like.
4141
```
4242

4343
## Debugging

0 commit comments

Comments
 (0)