From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +C+PKjn5cmcTRwEA62LTzQ:P1 (envelope-from ) for ; Mon, 30 Dec 2024 19:49:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +C+PKjn5cmcTRwEA62LTzQ (envelope-from ) for ; Mon, 30 Dec 2024 20:49:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="mDM1If/y"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=kM2FTsUG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735588153; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZyKJ7TyOgQvXY2hJz3BOeaqtD3+bae6jv1d0vszp07c=; b=LevUr39VhvUlU5Egkcp+QF6qf8FIb11xOM/oKwRROehpi5dYAvj5AnWfuF75H2jpF6B0Gm jYVreBIjsGhp5zisCFSJUoZuKjng+fJKMQIk7bA9LdRaUbwpJDHuwhYYt1kCwahnXVFced KdlFhi2avdqtsK4ZpCESs5C8zpSrzkW0UsNj70eEPvsPYShr9UeFm32Xq4nWdo4CG4O/9b EaEUQecSNFMPphDEv09GFXGc+ZzIgoNxemcy+/bQKcETgpXyNgt2lgs6V8NVHr7SgCxUBW YEiSNpMSmxEAsCw5i50iPaBFnqiqZJgofvuBXMv2VcHwrZ3WJPSWVwkd00gPEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="mDM1If/y"; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=kM2FTsUG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735588153; a=rsa-sha256; cv=none; b=H6e2NNX7beW2XbmwpjwFwbntw9ZZVFb+64Y02S+eEkg0SGZbgYRS2rtVQOb5lsUnIOcPiR KZBsdJFqqzYRKEW54DXIT3qMG1Wg8nzyaFk1XHKZZyS93AS+QU5n+cExYiYm3oK0Ru53PG EJf83FqajCeqs/07ClIKfkvN7pkPEVuMGYf9Tq5ME7aAcLPcTUxtHPhKA6xja3SEzXPHM/ F3xml+mZeVa+dYsj4vvQONopRoCGJy1I2CJ86fsomgbHZ/GH7Z+WKLd/lwTDACM102ZE33 /DP6arIPV/6SWdIGANmgeOH0Fjh/DzPpNVfIgpvhhd1d4rWExxnir6R3jKkIJQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 28A0F7E4A0 for ; Mon, 30 Dec 2024 20:49:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSLl9-0002eh-SL; Mon, 30 Dec 2024 14:49:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSLl8-0002eK-Mh for guix-patches@gnu.org; Mon, 30 Dec 2024 14:49:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSLl8-0004S6-Dj for guix-patches@gnu.org; Mon, 30 Dec 2024 14:49:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ZyKJ7TyOgQvXY2hJz3BOeaqtD3+bae6jv1d0vszp07c=; b=mDM1If/yUs5Ej2oMWdnsLfsBElR4RcAnmrXaDYOljwhAFKFwPsE+AjIZOrb9S/EBRKaHvhIgDN/bkOYvjHTo0jW/4yMhzAS+xBPBracxkGGBGnQh9SDWTNVgwNW8NFjd3TOoruudHErELwmNhvFOI8jnHcCcV0fW1cJa7Xq/XhGRdNB1nwIqFjyySf0k6kGaKi3AMh4/ckr2+lGo/fXhEvCOsRysFPnxI571KaaV+eE68sMU7i5r7nYg4Xje3xKViCtn72ZCRPVIqpkBq3Xw2eMVgRhOZrTFeh1phoE23aGSxIJ2qZuwmqfjfXyn4g3BwPILrka1nqJ7C9xR5dg6Tw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSLl8-0003qM-5o; Mon, 30 Dec 2024 14:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75212] [PATCH rust-team 2/7] gnu: Add rust-alloc-counter-0.0.4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Dec 2024 19:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75212 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75212@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75212-submit@debbugs.gnu.org id=B75212.173558812814696 (code B ref 75212); Mon, 30 Dec 2024 19:49:02 +0000 Received: (at 75212) by debbugs.gnu.org; 30 Dec 2024 19:48:48 +0000 Received: from localhost ([127.0.0.1]:60083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSLku-0003ou-3u for submit@debbugs.gnu.org; Mon, 30 Dec 2024 14:48:48 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:41937 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSLko-0003oS-N0 for 75212@debbugs.gnu.org; Mon, 30 Dec 2024 14:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1735588114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZyKJ7TyOgQvXY2hJz3BOeaqtD3+bae6jv1d0vszp07c=; b=kM2FTsUGtBCYrwI/MtGaX90DlxxQWyWxuzih0hO/yiSbPgPrWPiHC/kU8zjpefhs6RmPJW avOQaXX8CbXZMZb34F5OeD4fegrP7EnF/aR23JQkZN3fEs9XyCVHQJ7yOu+e73hcWK6ILY 2rhfW/719Fgl7IVDA9mgYN3NdawmGpXacLW63LmPvFYfF69ZeCcqvjLywp4Dis+OpVfqIO KLBh/HNFvsuCsBfPOjpguMf6CsRdBki6TBuDp8EKhaRrWX/6aD78tf0t91JS9Znz1M7gSx Zho+Vwe+wJXkCz6eUbyo4fVDCje71K5hEB9xC6CQX9S/+kPM+eDKMbR0ge8MgQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id cc93f0bb (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <75212@debbugs.gnu.org>; Mon, 30 Dec 2024 19:48:34 +0000 (UTC) Date: Mon, 30 Dec 2024 20:47:47 +0100 Message-ID: <36f8bd6f76ca60957b3f574543c22e6caca27f4c.1735587580.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <6375e73e5e07bfb5322601a5d61dd851979201c4.1735587580.git.herman@rimm.ee> References: <6375e73e5e07bfb5322601a5d61dd851979201c4.1735587580.git.herman@rimm.ee> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 28A0F7E4A0 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.69 X-Spam-Score: -0.69 X-TUID: SItbkRp5nQDH * 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