me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2023-04-29 23:20:23 +03:00
parent 8b66099722
commit 8fe5ed47cb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
2 changed files with 5 additions and 4 deletions

View File

@ -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))

View File

@ -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))))