Skip to content

Commit 274e729

Browse files
committed
miri script does not need to handle locally built rustc any more
1 parent 5339d54 commit 274e729

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

miri

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,11 @@ find_sysroot() {
6565
return 0
6666
fi
6767
# We need to build a sysroot.
68-
if echo "$SYSROOT" | egrep -q 'build/[^/]+/stage'; then
69-
# A local rustc build. Use its source dir.
70-
export XARGO_RUST_SRC="$SYSROOT/../../../src"
71-
fi
7268
if [ -n "$MIRI_TEST_TARGET" ]; then
7369
build_sysroot --target "$MIRI_TEST_TARGET"
7470
else
7571
build_sysroot
7672
fi
77-
export MIRI_SYSROOT
7873
}
7974

8075
## Main

0 commit comments

Comments
 (0)