From 93aba4eb6714085ad2ad35462683beb2e1c16fd3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 4 Nov 2023 22:02:46 +0200 Subject: [PATCH] gnu: rust-jemallocator-0.5: Update to 0.5.4. * gnu/packages/crates-io.scm (rust-jemallocator-0.5): Update to 0.5.4. [arguments]: Add cargo-test-flags. [cargo-development-inputs]: Add rust-jemallocator-ctl-0.5. Change-Id: Ie5818d95f4252dd7b70656e02a1fffa2fc315ead --- gnu/packages/crates-io.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1af1c57400..3933cc8df6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37687,20 +37687,24 @@ introspection APIs.") (define-public rust-jemallocator-0.5 (package (name "rust-jemallocator") - (version "0.5.0") + (version "0.5.4") (source (origin (method url-fetch) (uri (crate-uri "jemallocator" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "19kfd64hhh2anzfqm1c0yg0mg0nkmlzmcaw2njq543486x0m3hhn")))) + (base32 "1g6k9ly6wxj53bp8lz9lg9nj4s662k6612jydw71aqwfkx53gpm0")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:cargo-test-flags + (list "--release" "--" + "--skip=background_threads_enabled") + #:cargo-inputs (("rust-jemalloc-sys" ,rust-jemalloc-sys-0.5) ("rust-libc" ,rust-libc-0.2)) #:cargo-development-inputs - (("rust-paste" ,rust-paste-1)) + (("rust-jemalloc-ctl" ,rust-jemalloc-ctl-0.5) + ("rust-paste" ,rust-paste-1)) #:phases (modify-phases %standard-phases (add-after 'configure 'override-jemalloc