Skip to content

Commit 2d7166d

Browse files
authored
[Linux]: Add support for Linux aarch64. (#4225)
1 parent ed9152a commit 2d7166d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/install-rust-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rustup toolchain install $NIGHTLY-aarch64-apple-darwin --force-non-host
1111
rustup component add rust-src --toolchain $NIGHTLY-aarch64-apple-darwin
1212
rustup component add rust-src --toolchain $NIGHTLY-x86_64-apple-darwin
1313
if [[ `uname` == "Linux" ]]; then
14-
rustup component add rust-src --toolchain $NIGHTLY-x86_64-unknown-linux-gnu
14+
rustup component add rust-src --toolchain $NIGHTLY-$(uname -m)-unknown-linux-gnu
1515
fi
1616

1717
# Android

0 commit comments

Comments
 (0)