File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -232,16 +232,16 @@ You can also directly run Miri on a Rust source file:
232
232
233
233
## Advanced topic: Syncing with the rustc repo
234
234
235
- We use the [ ` josh ` proxy] ( https://github.com/josh-project/josh ) to transmit
236
- changes between the rustc and Miri repositories. For now, the latest git version
237
- of josh needs to be built from source. This downloads and runs josh:
235
+ 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:
238
237
239
238
``` sh
240
- git clone https://github.com/josh-project/josh
241
- cd josh
242
- cargo run --release -p josh-proxy -- --local=local --remote=https://github.com --no-background
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
243
241
```
244
242
243
+ This sets up a local volume ` josh-vol ` for josh's cache.
244
+
245
245
### Importing changes from the rustc repo
246
246
247
247
Josh needs to be running, as described above.
You can’t perform that action at this time.
0 commit comments