Skip to content

Commit fed7e2c

Browse files
committed
use cargo-install to install josh-proxy
1 parent d23554f commit fed7e2c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tools/miri/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,14 @@ You can also directly run Miri on a Rust source file:
233233
## Advanced topic: Syncing with the rustc repo
234234

235235
We use the [`josh` proxy](https://github.com/josh-project/josh) to transmit changes between the
236-
rustc and Miri repositories. The eaisest way to run josh is via docker:
236+
rustc and Miri repositories.
237237

238238
```sh
239-
docker pull joshproject/josh-proxy:latest
240-
docker run -it -p 8000:8000 -e JOSH_REMOTE=https://github.com -e JOSH_EXTRA_OPTS=--no-background -v josh-vol:/data/git joshproject/josh-proxy:latest
239+
cargo +stable install josh-proxy --git https://github.com/josh-project/josh --tag r22.12.06
240+
josh-proxy --local=$HOME/.cache/josh --remote=https://github.com --no-background
241241
```
242242

243-
This sets up a local volume `josh-vol` for josh's cache.
243+
This uses a directory `$HOME/.cache/josh` as a cache, to speed up repeated pulling/pushing.
244244

245245
### Importing changes from the rustc repo
246246

0 commit comments

Comments
 (0)