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

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:18:40 -0400

* gnu/packages/crates-io.scm: (rust-rand-core-0.6): Fix broken test.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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")
-- 
2.48.1