[bug#74743,rust-team,v2,22/68] gnu: rust-rand-core-0.6: Fix broken test.

Message ID 20250319011932.1899508-23-aaron.covrig.us@ieee.org
State New
Headers
Series Assorted rust-* package upgrades |

Commit Message

Aaron Covrig March 19, 2025, 1:18 a.m. UTC
  * gnu/packages/crates-io.scm: (rust-rand-core-0.6): Fix broken test.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad3b94ee8c..655f6a7f0f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62479,7 +62479,10 @@  (define-public rust-rand-core-0.6
         (base32 "0b4j2v4cb5krak1pv6kakv4sz6xcwbrmy2zckc32hsigbrwy82zc"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:cargo-test-flags '("--"
+                            ;; Skip broken test/deny(dead_code) lint
+                            "--skip=src/lib.rs - SeedableRng::Seed (line 265)")
+       #:cargo-inputs
        (("rust-getrandom" ,rust-getrandom-0.2)
         ("rust-serde" ,rust-serde-1))))
     (home-page "https://rust-random.github.io/book")