guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: rust: Disable support for aarch64-linux, ri


From: guix-commits
Subject: branch master updated: gnu: rust: Disable support for aarch64-linux, riscv64-linux.
Date: Sat, 29 Apr 2023 16:25:19 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 8fe5ed47cb gnu: rust: Disable support for aarch64-linux, riscv64-linux.
8fe5ed47cb is described below

commit 8fe5ed47cbbb6ae6ed00afa8d8b4f04e216d5adc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Apr 29 23:20:23 2023 +0300

    gnu: rust: Disable support for aarch64-linux, riscv64-linux.
    
    Support is currently broken and blocks too many other packages.
    
    * gnu/packages/gnome.scm (librsvg-for-system): Only use librsvg on
    x86_64-linux.
    * gnu/packages/rust.scm (rust-bootstrap)[supported-systems]: Remove
    aarch64-linux, riscv64-linux.
---
 gnu/packages/gnome.scm | 5 ++---
 gnu/packages/rust.scm  | 4 +++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 7aa7180f5e..29d75e2894 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3671,10 +3671,9 @@ diagrams.")
                              (system (or (%current-target-system)
                                          (%current-system))))
   ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
-  ;; on x86_64 and aarch64 so far, use the ancient C version on other
+  ;; on x86_64, aarch64 and riscv64 so far, use the ancient C version on other
   ;; platforms (FIXME).
-  (if (or (string-prefix? "x86_64-" system)
-          (string-prefix? "aarch64-" system))
+  (if (string-prefix? "x86_64-" system)
       librsvg
       librsvg-2.40))
 
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index d07f4ef10c..9af4ae2703 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -346,7 +346,9 @@ safety and thread safety guarantees.")
     ;; therefore the build process needs 8GB of RAM while building.
     ;; It may support i686 soon:
     ;; <https://github.com/thepowersgang/mrustc/issues/78>.
-    (supported-systems '("x86_64-linux" "aarch64-linux" "riscv64-linux"))
+    ;; XXX: The rust bootstrap is currently broken on aarch64 and riscv64,
+    ;; remove them until this is fixed.
+    (supported-systems '("x86_64-linux"))
 
     ;; Dual licensed.
     (license (list license:asl2.0 license:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]