Skip to content

Commit f3e6dd7

Browse files
committed
Auto merge of rust-lang#2666 - RalfJung:josh, r=RalfJung
update josh instructions josh-project/josh#965 and josh-project/josh#994 have been merged so we don't need a forked josh any more. :) However, this is blocked on josh-project/josh#1032 which currently prevents me from actually testing this...
2 parents 8de3b9f + b37a571 commit f3e6dd7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ With this, you should now have a working development setup! See
283283
## Advanced topic: Syncing with the rustc repo
284284

285285
We use the [`josh` proxy](https://github.com/josh-project/josh) to transmit
286-
changes between the rustc and Miri repositories. For now, a fork of josh needs to be built
287-
from source. This downloads and runs josh:
286+
changes between the rustc and Miri repositories. For now, the latest git version
287+
of josh needs to be built from source. This downloads and runs josh:
288288

289289
```sh
290-
git clone https://github.com/RalfJung/josh
290+
git clone https://github.com/josh-project/josh
291291
cd josh
292-
cargo run --release -p josh-proxy -- --local=$(pwd)/local --remote=https://github.com --no-background
292+
cargo run --release -p josh-proxy -- --local=local --remote=https://github.com --no-background
293293
```
294294

295295
### Importing changes from the rustc repo

miri

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ shift
7878
# macOS does not have a useful readlink/realpath so we have to use Python instead...
7979
MIRIDIR=$(python3 -c 'import os, sys; print(os.path.dirname(os.path.realpath(sys.argv[1])))' "$0")
8080
# Used for rustc syncs.
81-
JOSH_FILTER=":at_commit=75dd959a3a40eb5b4574f8d2e23aa6efbeb33573[:prefix=src/tools/miri]:/src/tools/miri"
81+
JOSH_FILTER=":rev(75dd959a3a40eb5b4574f8d2e23aa6efbeb33573:prefix=src/tools/miri):/src/tools/miri"
8282
# Needed for `./miri bench`.
8383
TOOLCHAIN=$(cd "$MIRIDIR"; rustup show active-toolchain | head -n 1 | cut -d ' ' -f 1)
8484

@@ -149,7 +149,7 @@ rustc-push)
149149
# and set `-o base` to a branch that holds current rustc master.
150150
echo "Preparing $USER/rust..."
151151
if git fetch https://github.com/$USER/rust $BRANCH &>/dev/null; then
152-
echo "The '$BRANCH' seems to already exist in $USER/rust. Please delete it and try again."
152+
echo "The branch '$BRANCH' seems to already exist in $USER/rust. Please delete it and try again."
153153
exit 1
154154
fi
155155
git fetch https://github.com/rust-lang/rust master

0 commit comments

Comments
 (0)