From b79b8ca12795ff6069220f733c15354e89207652 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 10 Dec 2023 22:21:52 +0200 Subject: [PATCH] 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 --- gnu/packages/crates-io.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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.")