gnu: rust-v-htmlescape-0.15: Only run tests on some architectures.

* gnu/packages/crates-io.scm (rust-v-htmlescape-0.15)[arguments]: Skip
tests when building not for an x86 system.

Change-Id: I6fbb7c414b016d3b71bda7634790c23e93d33529
This commit is contained in:
Efraim Flashner 2023-12-10 22:21:52 +02:00
parent 34eaf5714e
commit b79b8ca127
Signed by untrusted user: efraim
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 1 deletions

View File

@ -86041,7 +86041,12 @@ a part of rav1e.")
"135inp4x7cc32k0hzrymlz1baf0rj0ah5h82nrpa9w0hqpxmg0jf"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-buf-min" ,rust-buf-min-0.7))))
;; The tests assume x86_64 or i686 architecture.
;; https://github.com/zzau13/v_escape/issues/55
;; https://github.com/zzau13/v_escape/pull/123
`(#:tests? ,(and (not (%current-target-system))
(target-x86?))
#:cargo-inputs (("rust-buf-min" ,rust-buf-min-0.7))))
(home-page "https://github.com/botika/v_escape")
(synopsis "Simd optimized HTML escaping code")
(description "This package provides simd optimized HTML escaping code.")