summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-10 22:21:52 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-12-10 22:21:52 +0200
commitb79b8ca12795ff6069220f733c15354e89207652 (patch)
treea4ba766e85de424e2ca5c79b99f69a24b2ca4f81
parent34eaf5714efcb847c9cba03a055a17e790c1d017 (diff)
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
-rw-r--r--gnu/packages/crates-io.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30bc4746de..298cbc5bad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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.")