From 4f0bf40a9d19008efe61619cba17851bc50394dd Mon Sep 17 00:00:00 2001 From: Giuseppe Capasso <46749018+alarmfox@users.noreply.github.com> Date: Wed, 12 Feb 2025 14:52:38 +0100 Subject: [PATCH] Fix: musl build error (#1249) --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index af95132..83d9435 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,3 +3,6 @@ rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] [target.aarch64-apple-darwin] rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] + +[target.x86_64-unknown-linux-musl] +rustflags = ["-C", "target-feature=-crt-static"]