From 8c8a2eadf80a1fc4f838ae5e9f373297c233611f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Fri, 15 Nov 2024 17:12:54 +0800 Subject: [PATCH] fix aarch64 linux link --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 26988f1..1d09de5 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,9 @@ [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" + [alias] lint = "clippy -- -D warnings" r = "run"