Skip to content

Commit

Permalink
cross: Add mingwW64-llvm cross-system.
Browse files Browse the repository at this point in the history
  • Loading branch information
shlevy committed May 9, 2022
1 parent b7b9b73 commit 5c0654f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,15 @@ rec {
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
};

# 64 bit mingw-w64 with a llvm-based toolchain targetting ucrt
#
# Inspired by mstorsjo/llvm-mingw
mingwW64-llvm = {
config = "x86_64-w64-mingw32";
libc = "ucrt";
useLLVM = true;
};

# BSDs

amd64-netbsd = lib.warn "The amd64-netbsd system example is deprecated. Use x86_64-netbsd instead." x86_64-netbsd;
Expand Down

0 comments on commit 5c0654f

Please sign in to comment.