diff options
author | Shea Levy <shea@shealevy.com> | 2022-05-03 06:16:15 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2022-05-09 10:07:53 -0400 |
commit | 5c0654f26211aa9e8a0f6783de3e89c5ca1d2724 (patch) | |
tree | 85e45ef48237b4568473f9e69f076528919f76f9 /lib | |
parent | b7b9b73760c421ccf7323ab6827dec3c31bef344 (diff) |
cross: Add mingwW64-llvm cross-system.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/examples.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 997a7a8c273ae..19dba63f4f57f 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -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; |