From c8970052607ec2181d1927c60b07c1b78aff68b4 Mon Sep 17 00:00:00 2001 From: amrbashir Date: Thu, 16 May 2024 05:00:49 +0300 Subject: [PATCH] fix: add back linker configurations --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index a959cbef30..5ef1c15d94 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,9 +2,13 @@ # SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: MIT +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" rustflags = ["-C", "target-feature=-crt-static"] +[target.armv7-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" [target.x86_64-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] [target.i686-pc-windows-msvc]