all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 75212@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4.
Date: Mon, 30 Dec 2024 20:47:47 +0100	[thread overview]
Message-ID: <36f8bd6f76ca60957b3f574543c22e6caca27f4c.1735587580.git.herman@rimm.ee> (raw)
In-Reply-To: <6375e73e5e07bfb5322601a5d61dd851979201c4.1735587580.git.herman@rimm.ee>

* gnu/packages/crates-io.scm (rust-alloc-counter-0.0.4): Add variable.

Change-Id: I4459b8ed29afb4a0091eb7fce07e45f663cb7642
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 112276fe191..6ee05ca09a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1258,6 +1258,33 @@ (define-public rust-aligned-vec-0.5
     (description "This package provides an aligned vector and box containers.")
     (license license:expat)))
 
+(define-public rust-alloc-counter-0.0.4
+  (package
+    (name "rust-alloc-counter")
+    (version "0.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "alloc_counter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1agxzprqi37bcy9hh3clbsl3n0awbb34vrlv4rp5afib8w53m31s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--" "--skip=count_3" "--skip=count_alloc")
+       #:cargo-inputs
+       (("rust-alloc-counter-macro" ,rust-alloc-counter-macro-0.0.2)
+        ("rust-pin-utils" ,rust-pin-utils-0.1))
+       #:cargo-development-inputs
+       (("rust-futures-executor" ,rust-futures-executor-0.3))))
+    (home-page "https://gitlab.com/sio4/code/alloc-counter")
+    (synopsis "Count allocations, reallocations, deallocations")
+    (description
+     "This package provides a counter for allocations, reallocations,
+deallocations.  It can also allow, deny, or forbid allocations on an
+expression or function basis.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-alloc-counter-macro-0.0.2
   (package
     (name "rust-alloc-counter-macro")
-- 
2.45.2





  reply	other threads:[~2024-12-30 19:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30 19:39 [bug#75212] [PATCH rust-team 1/7] gnu: Add rust-alloc-counter-macro-0.0.2 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` Herman Rimm via Guix-patches via [this message]
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 3/7] gnu: Add rust-libc-0.1 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 4/7] gnu: Add rust-mmap-0.1 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 5/7] gnu: Add rust-x86-0.47 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 6/7] gnu: Add rust-perfcnt-0.8 Herman Rimm via Guix-patches via
2024-12-30 19:47 ` [bug#75212] [PATCH rust-team 7/7] gnu: rust-simd-json-0.13: Remove snippet Herman Rimm via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36f8bd6f76ca60957b3f574543c22e6caca27f4c.1735587580.git.herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=75212@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=herman@rimm.ee \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.