From 2d7166d6f49cd354a10786d66be52556a57cdce4 Mon Sep 17 00:00:00 2001 From: codiss Date: Mon, 20 Jan 2025 19:17:59 +0800 Subject: [PATCH] [Linux]: Add support for Linux aarch64. (#4225) --- tools/install-rust-dependencies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install-rust-dependencies b/tools/install-rust-dependencies index 5ab14b69151..17173643a7e 100755 --- a/tools/install-rust-dependencies +++ b/tools/install-rust-dependencies @@ -11,7 +11,7 @@ rustup toolchain install $NIGHTLY-aarch64-apple-darwin --force-non-host rustup component add rust-src --toolchain $NIGHTLY-aarch64-apple-darwin rustup component add rust-src --toolchain $NIGHTLY-x86_64-apple-darwin if [[ `uname` == "Linux" ]]; then - rustup component add rust-src --toolchain $NIGHTLY-x86_64-unknown-linux-gnu + rustup component add rust-src --toolchain $NIGHTLY-$(uname -m)-unknown-linux-gnu fi # Android