gnu: rust-cpuid-bool-0.2: Only build on supported systems.

* gnu/packages/crates-io.scm (rust-cpuid-bool-0.2)[arguments]: Skip the
build unless building on x86_64-linux or i686-linux.

Change-Id: I8e224618088154f45195405a13721d1e18b3be64
This commit is contained in:
Efraim Flashner 2023-12-10 11:49:25 +02:00
parent 55faf486c7
commit b5dca27496
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -16844,6 +16844,9 @@ (define-public rust-cpuid-bool-0.2
(sha256
(base32 "1fpzag3g655p1lr08jgf5n89snjc2ycqx30mm0w3irc9fc3mvcnw"))))
(build-system cargo-build-system)
(arguments
;; error: This crate works only on x86 and x86-64 targets.
(list #:skip-build? (not (target-x86?))))
(home-page "https://github.com/RustCrypto/utils/tree/master/cpufeatures")
(synopsis "replaced by the `cpufeatures` crate")
(description "This package has been replaced by the `cpufeatures` crate.")