Skip to content

Commit 7ae68a8

Browse files
committed
Pass --target in cargo.sh
This reverts commit 590bfc6. The target name is now supplied by `$TARGET_SPEC` instead of `$TARGET_TRIPLE` to support target spec files.
1 parent 3b337af commit 7ae68a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ fi
2020
cmd=$1
2121
shift
2222

23-
RUSTDOCFLAGS="$RUSTFLAGS" cargo +${TOOLCHAIN} $cmd $@
23+
RUSTDOCFLAGS="$RUSTFLAGS" cargo +${TOOLCHAIN} $cmd --target "$TARGET_SPEC" $@

0 commit comments

Comments
 (0)