Skip to content

Commit 9dd0048

Browse files
committed
install directly from git repo
1 parent cc4dd29 commit 9dd0048

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,13 @@ compiled the right way.
5353

5454
## Running Miri on your own project('s test suite)
5555

56-
Install Miri as a cargo subcommand with `cargo +nightly install --path .`. Be
57-
aware that if you used `rustup override set` to fix a particular Rust version
56+
Install Miri as a cargo subcommand:
57+
58+
```sh
59+
cargo +nightly install --git https://github.com/solson/miri/
60+
```
61+
62+
Be aware that if you used `rustup override set` to fix a particular Rust version
5863
for the miri directory, that will *not* apply to your own project directory!
5964
You have to use a consistent Rust version for building miri and your project for
6065
this to work, so remember to either always specify the nightly version manually,

0 commit comments

Comments
 (0)