gnu: rust: Add 'supported-systems' field.

* gnu/packages/rust.scm (rust-1.39)[supported-systems]: New field.
(rust-1.40)[supported-systems]: Remove.
This commit is contained in:
Ludovic Courtès 2021-11-27 22:27:09 +01:00
parent 72b0c5a3f2
commit e765ad091d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -318,6 +318,11 @@ (define rust-1.39
(description "Rust is a systems programming language that provides memory
safety and thread safety guarantees.")
(home-page "https://github.com/thepowersgang/mrustc")
;; So far mrustc is x86_64-only. It may support i686 soon:
;; <https://github.com/thepowersgang/mrustc/issues/78>.
(supported-systems '("x86_64-linux"))
;; Dual licensed.
(license (list license:asl2.0 license:expat))))
@ -502,9 +507,6 @@ (define rust-1.40
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64")))))
(supported-systems
(delete "i686-linux" ; fails to build, see bug #35519
%supported-systems))
(synopsis "Compiler for the Rust progamming language")
(description "Rust is a systems programming language that provides memory
safety and thread safety guarantees.")