From 15c1fa96dee5d227322477cc42aa00e9869fecfb Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Sat, 30 Nov 2024 11:15:58 +0100 Subject: [PATCH] feat: add support for armv7-unknown-linux-gnueabihf in configuration and targets Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com> --- .cargo/config.toml | 2 ++ dist-workspace.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 2544dcc..e3bd868 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -21,3 +21,5 @@ linker = "i686-linux-gnu-gcc" [env] CC_i686-unknown-linux-gnu = "i686-linux-gnu-gcc" CC_aarch64_unknown_linux_musl = "aarch64-linux-gnu-gcc" +CC_armv7_unknown_linux_gnueabihf = "arm-linux-gnueabihf-gcc" +CC_armv7_unknown_linux_musleabihf = "arm-linux-gnueabihf-gcc" diff --git a/dist-workspace.toml b/dist-workspace.toml index 853d267..ab59c08 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -12,7 +12,7 @@ ci = "github" # The installers to generate for each app installers = ["shell", "powershell", "homebrew", "msi"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc", "i686-unknown-linux-gnu"] +targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "armv7-unknown-linux-gnueabihf", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc", "i686-unknown-linux-gnu"] # Path that installers should place binaries in install-path = "CARGO_HOME" # Whether to install an updater program