Skip to content

Commit

Permalink
remove target panic for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Jan 21, 2024
1 parent 20cf00c commit f1ba5bb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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) });

Expand Down

0 comments on commit f1ba5bb

Please sign in to comment.