From e42b0faf9833fd62c76151473951fdd24a949344 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Mon, 24 Aug 2026 17:28:42 -0400 Subject: [PATCH] Make aarch64 Windows builds use a static CRT linkage Signed-off-by: William Woodruff --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 9e54301166..42a317837e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -6,6 +6,8 @@ rustflags = ["-C", "target-feature=+crt-static"] [target.i686-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] +[target.aarch64-pc-windows-msvc] +rustflags = ["-C", "target-feature=+crt-static"] # Do the same for MUSL targets. At the time of writing (2023-10-23), this is # the default. But the plan is for the default to change to dynamic linking.