From 8f2410b66073c846961551b61dc8e8025d0c74ea Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Fri, 2 Jun 2023 14:07:54 -0700 Subject: [PATCH] link ntdll on non-windows-gnu targets (needed for aarch64-pc-windows-gnullvm) --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index bbd46f5..868c317 100644 --- a/build.rs +++ b/build.rs @@ -10,6 +10,8 @@ fn main() { } else { println!("cargo:rustc-link-lib=winapi_ntdll"); } + } else { + println!("cargo:rustc-link-lib=ntdll"); } } }