Subject: [bug#75980] [PATCH rust-team 101/106] gnu: rust-malloc-buf-1: Disable failing test.

From: Herman Rimm <[email-masked]>
Date: Fri, 31 Jan 2025 22:12:17 +0100

* gnu/packages/crates-database.scm (rust-malloc-buf-1): Disable test.
(rust-malloc-buf-0.0.6): Inherit arguments.

Change-Id: Id5fffd93d0285a972eb22fd746ec66107b1a7ab6
---
 gnu/packages/crates-io.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 34f3a13800c..7325084c8a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40676,7 +40676,8 @@ (define-public rust-malloc-buf-1
         (base32 "1zap9m0xmd5sdsxil7v2rgb1dzlq0308f826pwvqdvjyaz0chciz"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
+     `(#:cargo-test-flags '("--" "--skip=tests::test_null_buf")
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2))))
     (home-page "https://github.com/SSheldon/malloc_buf")
     (synopsis "Structs for handling malloc'd memory passed to Rust")
     (description
@@ -40694,9 +40695,8 @@ (define-public rust-malloc-buf-0.0.6
         (uri (crate-uri "malloc_buf" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
-         (base32 "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2"))))
-    (arguments
-     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2))))))
+         (base32
+           "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2"))))))
 
 (define-public rust-manifest-dir-macros-0.1
   (package
-- 
2.47.1