From b9ae80fabe6bfbe463b6456d43e3848bdd15fc57 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Tue, 27 Feb 2024 14:58:29 -0500 Subject: [PATCH] chore(patch): update crt-static flag in build config (#130) --- patch/.cargo/config.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch/.cargo/config.toml b/patch/.cargo/config.toml index 0252465..0a5fa2e 100644 --- a/patch/.cargo/config.toml +++ b/patch/.cargo/config.toml @@ -1,4 +1,4 @@ # Prevents missing DLLs when running the binary on Windows # See https://github.com/shorebirdtech/shorebird/issues/1487 -[target.x86_64-pc-windows-msvc] -rustflags = ["-Ctarget-feature=+crt-static"] +[target.'cfg(all(windows, target_env = "msvc"))'] +rustflags = ["-C", "target-feature=+crt-static"]