From 59db44c63a575e56ed2405b38140978e65c9f2ce Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Sat, 30 Nov 2024 10:59:35 +0100 Subject: [PATCH] feat: add environment variables for i686-unknown-linux-gnu and aarch64 targets in Cargo config Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 915e521..2544dcc 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -17,3 +17,7 @@ linker = "aarch64-linux-gnu-gcc" [target.i686-unknown-linux-gnu] linker = "i686-linux-gnu-gcc" + +[env] +CC_i686-unknown-linux-gnu = "i686-linux-gnu-gcc" +CC_aarch64_unknown_linux_musl = "aarch64-linux-gnu-gcc"