From 2de828e139feb10598fba1f989080b3bd8e51649 Mon Sep 17 00:00:00 2001 From: Will Binns-Smith Date: Fri, 31 May 2024 16:00:01 -0700 Subject: [PATCH] Use rust-lld for Windows on arm64 (#66360) Test Plan: Built with Windows on arm64 --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 18dc923049..dae6ab6790 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -18,6 +18,9 @@ rustflags = ["-C", "target-feature=+crt-static"] [target.i686-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] +[target.aarch64-pc-windows-msvc] +linker = "rust-lld" + [target.aarch64-apple-darwin] linker = "rust-lld"