summary refs log tree commit diff
path: root/gnu/packages/rust.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-22 16:38:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:59:43 +0200
commit2700ed8ee62d3872538d6ed83c65c566e9782a09 (patch)
tree908f43ac43fce67f3d80432fa98e6b87f1085b06 /gnu/packages/rust.scm
parent7103f32aee1c764e1f0d9efd7bfbf42e10a57bed (diff)
downloadguix-2700ed8ee62d3872538d6ed83c65c566e9782a09.tar.gz
gnu: rust: Add triplets for Windows.
* gnu/packages/rust.scm (nix-system->gnu-triplet-for-rust): Add entries
for i686-mingw and x86_64-mingw.

Change-Id: I13615c1548d96863bc32620269d82975e4599c08
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r--gnu/packages/rust.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2e1f6f32f9..cfa9233911 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -110,6 +110,8 @@
     ("riscv64-linux"  "riscv64gc-unknown-linux-gnu")
     ("i586-gnu" "i686-unknown-hurd-gnu")
     ("i686-gnu" "i686-unknown-hurd-gnu")
+    ("i686-mingw" "i686-pc-windows-gnu")
+    ("x86_64-mingw" "x86_64-pc-windows-gnu")
     (_                (nix-system->gnu-triplet system))))
 
 (define* (rust-uri version #:key (dist "static"))