From 0dd2f5cc582307e282a1134463d085b60c82b62e Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Fri, 28 Jun 2024 09:51:22 +0100 Subject: [PATCH] chore: build for `musl` based systems As noted in #31, we currently can only deploy this to Linux distributions that use `glibc`, which means some more lightweight distributions like Alpine Linux aren't usable. We should be able to solve this by adding a target to `-musl`. Closes #31. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index bcfb22e..a4b9e23 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,7 +49,7 @@ ci = "github" # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"] # Publish jobs to run in CI pr-run-mode = "plan" # Whether to install an updater program