Skip to content

Commit a268b8f

Browse files
committed
fix: use rustup toolchain add
1 parent 5d1ab22 commit a268b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/brew-install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ brew link --overwrite rustup-init
2323
echo "Running rustup-init"
2424
rustup-init --default-toolchain 1.68.2 -y
2525
echo "Adding x86_64-apple-darwin as target"
26-
rustup add x86_64-apple-darwin
26+
rustup toolchain install x86_64-apple-darwin
2727
echo "Adding aarch64-apple-darwin as target"
28-
rustup add aarch64-apple-darwin
28+
rustup toolchain install aarch64-apple-darwin
2929
echo "Completed brew setup"

0 commit comments

Comments
 (0)