summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornixpkgs-ci[bot] <190413589+nixpkgs-ci[bot]@users.noreply.github.com>2026-01-15 18:09:05 +0000
committerGitHub <noreply@github.com>2026-01-15 18:09:05 +0000
commitdb8a4e9f0bffbc1b4f4a5474ef17d264aa94ec8a (patch)
tree8d78802220f3c7f6878d75961d5fb290f9109817 /lib
parentpython313Packages.pip-tools: skip more tests (diff)
parentlean: fix build with GCC 15 (#480010) (diff)
downloadnixpkgs-db8a4e9f0bffbc1b4f4a5474ef17d264aa94ec8a.tar.gz
Merge master into staging-next
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/examples.nix31
1 files changed, 24 insertions, 7 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index d05c05910523..64f329f2a3db 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -341,32 +341,49 @@ rec {
# Windows
#
- # 32 bit mingw-w64
- mingw32 = {
+ # mingw-w64 with MSVCRT for i686
+ mingw-msvcrt-i686 = {
config = "i686-w64-mingw32";
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
};
- # 64 bit mingw-w64
- mingwW64 = {
+ # mingw-w64 with MSVCRT for x86_64
+ mingw-msvcrt-x86_64 = {
# That's the triplet they use in the mingw-w64 docs.
config = "x86_64-w64-mingw32";
libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain
};
- ucrt64 = {
+ # mingw-w64 with UCRT for x86_64, default compiler
+ mingw-ucrt-x86_64 = {
config = "x86_64-w64-mingw32";
libc = "ucrt"; # This distinguishes the mingw (non posix) toolchain
};
- # LLVM-based mingw-w64 for ARM
- ucrtAarch64 = {
+ # mingw-w64 with UCRT for x86_64, LLVM
+ mingw-ucrt-x86_64-llvm = {
+ config = "x86_64-w64-mingw32";
+ libc = "ucrt";
+ rust.rustcTarget = "x86_64-pc-windows-gnullvm";
+ useLLVM = true;
+ };
+
+ # mingw-w64 with ucrt for Aarch64, default compiler (which is LLVM
+ # because GCC does not support this platform yet).
+ mingw-ucrt-aarch64 = {
config = "aarch64-w64-mingw32";
libc = "ucrt";
rust.rustcTarget = "aarch64-pc-windows-gnullvm";
useLLVM = true;
};
+ # mingw-64 back compat
+ # TODO: Warn after 26.05, and remove after 26.11.
+ mingw32 = mingw-msvcrt-i686;
+ mingwW64 = mingw-msvcrt-x86_64;
+ ucrt64 = mingw-ucrt-x86_64;
+ ucrtAarch64 = mingw-ucrt-aarch64;
+
# Target the MSVC ABI
x86_64-windows = {
config = "x86_64-pc-windows-msvc";