From 1d7a2e632d988a09a88e5b1639ed8668840016d4 Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 31 Mar 2025 10:54:12 +0100 Subject: [PATCH] Revert removing i686 from target --- scripts/hak/target.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/hak/target.ts b/scripts/hak/target.ts index 8b275329..3323e0f5 100644 --- a/scripts/hak/target.ts +++ b/scripts/hak/target.ts @@ -15,6 +15,7 @@ export type TargetId = | "aarch64-apple-darwin" | "x86_64-apple-darwin" | "universal-apple-darwin" + | "i686-pc-windows-msvc" | "x86_64-pc-windows-msvc" | "aarch64-pc-windows-msvc" | "i686-unknown-freebsd" @@ -79,6 +80,13 @@ const universalAppleDarwin: UniversalTarget = { subtargets: [aarch64AppleDarwin, x8664AppleDarwin], }; +const i686PcWindowsMsvc: WindowsTarget = { + id: "i686-pc-windows-msvc", + platform: "win32", + arch: "ia32", + vcVarsArch: "x86", +}; + const x8664PcWindowsMsvc: WindowsTarget = { id: "x86_64-pc-windows-msvc", platform: "win32", @@ -173,6 +181,7 @@ export const TARGETS: Record = { "x86_64-apple-darwin": x8664AppleDarwin, "universal-apple-darwin": universalAppleDarwin, // Windows + "i686-pc-windows-msvc": i686PcWindowsMsvc, "x86_64-pc-windows-msvc": x8664PcWindowsMsvc, "aarch64-pc-windows-msvc": aarch64WindowsMsvc, // FreeBSD