From a8087c6840fdd1f8e15d828ce3d613f7e719ae1c Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Mon, 21 Apr 2025 13:44:46 -0700 Subject: [PATCH] cargo/config: show apt pkgs for gnueabihf --- .cargo/config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 881bc70..09842cd 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,8 +6,9 @@ rustflags = ["-C", "target-feature=+crt-static"] linker = "rust-lld" rustflags = ["-C", "target-feature=+crt-static"] +# apt install build-essential libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf [target.armv7-unknown-linux-gnueabihf] -linker = "armv7l-unknown-linux-gnueabihf-gcc" +linker = "arm-linux-gnueabihf-gcc" rustflags = ["-C", "target-feature=+crt-static"] [target.armv7-unknown-linux-musleabihf]