From f1ba5bbb9ccf70753e07c4576b7862e4f4a4f0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Catarino=20Fran=C3=A7a?= Date: Sun, 21 Jan 2024 11:04:43 -0300 Subject: [PATCH] remove target panic for windows --- build.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/build.zig b/build.zig index 23a6e2b..bfd47ec 100644 --- a/build.zig +++ b/build.zig @@ -495,8 +495,6 @@ pub fn ldcBuildStep(b: *Build, options: DCompileStep) !*RunStep { b.fmt("{s}-apple-{s}", .{ if (options.target.result.cpu.arch.isAARCH64()) "arm64" else @tagName(options.target.result.cpu.arch), @tagName(options.target.result.os.tag) }) else if (options.target.result.isWasm()) b.fmt("{s}-unknown-unknown-wasm", .{@tagName(options.target.result.cpu.arch)}) - else if (options.target.result.isMinGW()) - @panic("Mingw is not supported for ldc2 yet") else b.fmt("{s}-{s}-{s}", .{ @tagName(options.target.result.cpu.arch), @tagName(options.target.result.os.tag), @tagName(options.target.result.abi) });