You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// These functions are provided by libc when targeting MSVC, but not MinGW.
52
-
// Temporarily used for thumb-uefi until https://github.com/ziglang/zig/issues/21630 is addressed.
53
-
pubconstwant_windows_arm_abi=builtin.cpu.arch.isArm() and (builtin.os.tag==.windowsorbuiltin.os.tag==.uefi) and (builtin.abi.isGnu() or!builtin.link_libc);
51
+
/// These functions are required on Windows on ARM. They are provided by MSVC libc, but in libc-less
52
+
/// builds or when linking MinGW libc they are our responsibility.
53
+
/// Temporarily used for thumb-uefi until https://github.com/ziglang/zig/issues/21630 is addressed.
54
+
pubconstwant_windows_arm_abi=e: {
55
+
if (!builtin.cpu.arch.isArm()) break :efalse;
56
+
switch (builtin.os.tag) {
57
+
.windows, .uefi=> {},
58
+
else=>break :efalse,
59
+
}
60
+
// The ABI is needed, but it's only our reponsibility if libc won't provide it.
0 commit comments