From 9604778ff5daa55a2ae217f2cdfbdbf5f04f9b57 Mon Sep 17 00:00:00 2001 From: Samuel Lijin Date: Wed, 7 Aug 2024 11:17:07 -0700 Subject: [PATCH] add rustflags for musl --- engine/.cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/.cargo/config.toml b/engine/.cargo/config.toml index 6ed6355d2..0054c35c5 100644 --- a/engine/.cargo/config.toml +++ b/engine/.cargo/config.toml @@ -1,3 +1,5 @@ # https://github.com/rust-lang/cargo/issues/8607 +[target.x86_64-unknown-linux-musl] +rustflags = ["-C", "target-feature=-crt-static"] [target.aarch64-unknown-linux-musl] rustflags = ["-C", "target-feature=-crt-static"]