From patchwork Sun Mar 10 07:30:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: muradm X-Patchwork-Id: 61586 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C1BE127BBEA; Sun, 10 Mar 2024 07:31:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3DD5227BBE2 for ; Sun, 10 Mar 2024 07:31:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjDei-00052g-0m; Sun, 10 Mar 2024 03:31:36 -0400 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 1rjDee-00050h-KK for guix-patches@gnu.org; Sun, 10 Mar 2024 03:31:32 -0400 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 1rjDee-0006O1-40 for guix-patches@gnu.org; Sun, 10 Mar 2024 03:31:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjDfA-0001Ub-5l; Sun, 10 Mar 2024 03:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69697] [PATCH 2/7] gnu: Add rust-mimalloc-0.1. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 10 Mar 2024 07:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69697 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69697@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by submit@debbugs.gnu.org id=B.17100559105648 (code B ref -1); Sun, 10 Mar 2024 07:32:03 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2024 07:31:50 +0000 Received: from localhost ([127.0.0.1]:35362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjDew-0001Sr-10 for submit@debbugs.gnu.org; Sun, 10 Mar 2024 03:31:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:54718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjDet-0001Rx-3Q for submit@debbugs.gnu.org; Sun, 10 Mar 2024 03:31:48 -0400 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 1rjDeL-0004x4-JH for guix-patches@gnu.org; Sun, 10 Mar 2024 03:31:13 -0400 Received: from nomad-cl1.muradm.net ([139.162.159.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjDeH-0006J2-Oq for guix-patches@gnu.org; Sun, 10 Mar 2024 03:31:13 -0400 Received: from localhost ([127.0.0.1]:49566) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rjDdp-0008L8-2L for guix-patches@gnu.org; Sun, 10 Mar 2024 07:30:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=55UTEcFJy6ICeRBxwGhxp3Juw+xWfyBrpH4Z6W2nfxc=; b=XpGuMq16PfKvOj1WlBEAF9mLwH amDjHyKsVYoNuVWrBdsNO1fNqUaj3Ur6uH3whD1DKUZjXITONz3Ribg+oK4W8uQc2tu4lSyEPp4ZO A75RaDMxm1O6WDQYbDPhnw9peLMZ+Mf/CwB/5ZbeoqpRvJ/UUgXV/Sli2ZHMyUf2eE9QVxtg4suQO 7ORRFhqCSkP+K92btMEqmmc7mXdtR7B/MKdsnC3sWmQe3kuB6ZuW/WZT17qI/oKBcaMUqK6pRXZH8 aac6kutSn1JlOSDUplThu0+2KiRQ6I/2H8fzxuvx+1jWdAYRvRPle4H6jcGpdO97/QsBNRq8804z+ bFk/ewgPVHTX5gY8uc2K80NgO2voj1ZCGnUFEa5YofEWc7mVw2oH1c82jXZHA2igmiKbkne2ZjoNJ InXCs1Ii/YNWPRKE4h6rM8dacYN9nR/wEoe6PkT2wXaYmVQWQRvDDNbhxdZj/pYwecfS21M6JNpDC WzwFE8RFrl4ju3thJJDMu+wd; Received: from muradm by localhost with local (Exim 4.96.1) (envelope-from ) id 1rjDeE-0008QV-05 for guix-patches@gnu.org; Sun, 10 Mar 2024 10:31:06 +0300 From: muradm Date: Sun, 10 Mar 2024 10:30:55 +0300 Message-ID: <50a3bdf1e6ab302f9ae0006c37572f9576225a0e.1710055564.git.mail@muradm.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-mimalloc-0.1): New variable. Change-Id: I87a05568b40145233acddf07e6dcfd4b5b8a7766 --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1e828257b6..09625aa52f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37806,6 +37806,25 @@ (define-public rust-migrations-macros-1 embedded migrations.") (license (list license:expat license:asl2.0)))) +(define-public rust-mimalloc-0.1 + (package + (name "rust-mimalloc") + (version "0.1.39") + (source + (origin + (method url-fetch) + (uri (crate-uri "mimalloc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "176w9gf5qxs07kd2q39f0k25rzmp4kyx5r13wc8sk052bqmr40gs")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-libmimalloc-sys" ,rust-libmimalloc-sys-0.1)))) + (home-page "https://github.com/purpleprotocol/mimalloc_rust") + (synopsis "Performance and security oriented drop-in allocator") + (description "Performance and security oriented drop-in allocator") + (license license:expat))) + (define-public rust-mimalloc-rust-0.1 (package (name "rust-mimalloc-rust")