From f8366e142db08eaf97328249a1dbf3f5c9562968 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 21 Apr 2026 17:47:45 -0700 Subject: [PATCH] Fix type in building win-arm64 so vcruntime is statically linked --- .cargo/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 7e2bf62bd..a7dbf2fad 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -12,7 +12,7 @@ global-credential-providers = ["cargo:token"] [target.x86_64-pc-windows-msvc] rustflags = ["-Ccontrol-flow-guard", "-Ctarget-feature=+crt-static", "-Clink-args=/DYNAMICBASE /CETCOMPAT"] -[target.aarch64-windows-msvc] +[target.aarch64-pc-windows-msvc] rustflags = ["-Ccontrol-flow-guard", "-Ctarget-feature=+crt-static", "-Clink-args=/DYNAMICBASE"] # The following is only needed for release builds