Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 0f973bd

Browse files
committed
Auto merge of rust-lang#2405 - RalfJung:pwd, r=RalfJung
fix auto-toolchain pwd `rustup-toolchain` needs to be called in the right directory
2 parents 3800933 + 7c30ba1 commit 0f973bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

miri

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [ -z "$AUTO_OPS" ]; then
5959
# Run this first, so that the toolchain doesn't change after
6060
# other code has run.
6161
if [ -f "$MIRIDIR/.auto-everything" ] || [ -f "$MIRIDIR/.auto-toolchain" ] ; then
62-
"$MIRIDIR"/rustup-toolchain
62+
(cd "$MIRIDIR" && ./rustup-toolchain)
6363
fi
6464

6565
if [ -f "$MIRIDIR/.auto-everything" ] || [ -f "$MIRIDIR/.auto-fmt" ] ; then

0 commit comments

Comments
 (0)