From 7a2d7ebc7b658b9e5dd404267e3e20a9f8c90ba1 Mon Sep 17 00:00:00 2001 From: Diogo Mendes Matsubara Date: Wed, 23 Oct 2024 12:55:22 +0200 Subject: [PATCH] fix: add linker info for each target --- .cargo/config.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 5adae5e04..8ced73651 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,3 +3,16 @@ rustflags = "-Ctarget-feature=-crt-static" [target.aarch64-unknown-linux-musl] rustflags = "-Ctarget-feature=-crt-static" + +[target.arm-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" + +[target.arm-unknown-linux-gnueabi] +linker = "arm-linux-gnueabi-gcc" + +[target.arm7-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" + +[target.aarch64-unknown-linux-gnu] +linker = "aarch64-linux-gnu-gcc" +