From patchwork Wed Jun 29 14:46:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 40405 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 6F7C527BBEA; Wed, 29 Jun 2022 15:58:03 +0100 (BST) 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=unavailable 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 E2E3127BBE9 for ; Wed, 29 Jun 2022 15:58:02 +0100 (BST) Received: from localhost ([::1]:36556 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Z8k-0006vt-37 for patchwork@mira.cbaines.net; Wed, 29 Jun 2022 10:58:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Yy9-0004jD-KJ for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37637) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6Yy7-00055H-Qt for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6Yy7-0000zz-Oz for guix-patches@gnu.org; Wed, 29 Jun 2022 10:47:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56298] [PATCH 6/7] gnu: Add rust-loom-0.5. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jun 2022 14:47:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 56298@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 56298-submit@debbugs.gnu.org id=B56298.16565140203800 (code B ref 56298); Wed, 29 Jun 2022 14:47:03 +0000 Received: (at 56298) by debbugs.gnu.org; 29 Jun 2022 14:47:00 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Yy3-0000z7-M8 for submit@debbugs.gnu.org; Wed, 29 Jun 2022 10:47:00 -0400 Received: from frog.ash.relay.mailchannels.net ([23.83.222.63]:49367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Yy1-0000yW-PU for 56298@debbugs.gnu.org; Wed, 29 Jun 2022 10:46:58 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A996D6A163E; Wed, 29 Jun 2022 14:46:49 +0000 (UTC) Received: from pdx1-sub0-mail-a203.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B57406A176D; Wed, 29 Jun 2022 14:46:48 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1656514008; a=rsa-sha256; cv=none; b=Ua3gYxgsfCegOTvUoaFerQmu7nW2myUBujAou/RH5a87D7ODTnzugkReAwQGwjgwNtg8Sm uPsT70zfiI6bzLVC9J7Hc/9EY94kfXUPeV9Iyeetef3+6rNltiNiiyWPX7uMWXwNmVIEdO nzGPHOlmt5VIi1QPJAqlkUxiwSBJYXPGjEH7ZYaxsjWsX4fns5ZK8UEwooxDpLUmEteujl G9H6oSiQNh7C9SY+kInH4MYzAG6qw0cmnZ7BH7dDn47K3Basim+LX1FA+dkG97A6nsZkVU mNjpJqOYjqWH3fSa6kfeTatyRTgknn3idXNPcunCZqSX3Y6EpUohSIRDQBmjkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1656514008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=wXlvMc7+xwHEGYjDV6PZtp/yxNjaUGNFYd3rN103Vqw=; b=RVCCBMGeRP8cAXzlo8qX2iS24GbqRxsrJJ11tz1Bat0HtfdEqTdCM+QC73oOOGKUkYaC9r jP8vME4iaX+qoq3CXrdXxeI124bvtQtCl3FY0h3tOzFHZcYaKIYnWDuvgRwygRQZcIOehc WMC9j/dywbrfn2GLefgJ1q7iO+EzVBep6/PikI1yL3OV/aQgYV9+6E5iaha4pFDqkBYvF3 JEKPV2c+kWTWyuZeMH3UqyVTxaRK9+oAbKsgKJpktvt5ig8bf9WGuIliHWuHjrGZ1rPiuI 3iZe0eB1IUsAr8J3UwBe1a1bD9A2knsl1MGXRnYtvIj71lmTOgZFyaow3QJ3FQ== ARC-Authentication-Results: i=1; rspamd-689699966c-kjvv6; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Little-Decisive: 3d2ffe23565bb36b_1656514009412_3146361454 X-MC-Loop-Signature: 1656514009411:4146566130 X-MC-Ingress-Time: 1656514009411 Received: from pdx1-sub0-mail-a203.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.125.123.46 (trex/6.7.1); Wed, 29 Jun 2022 14:46:48 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a203.dreamhost.com (Postfix) with ESMTPSA id 4LY46c0Zjpz71; Wed, 29 Jun 2022 07:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1656514008; bh=wXlvMc7+xwHEGYjDV6PZtp/yxNjaUGNFYd3rN103Vqw=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=mnrwYToyo2/rDANP5ETTvn74WHUbsf0BwGQEWlYooERHTv8egmkNB9AquRWR8B42b SpCXobDo+Tl12qGKybU+xXLpHItFLLCu5Lqzr1Q1iOPrdUZH7e7X3IZqvdUp9KiNJ1 uS+bvtKkJbGptxSqHKk5DM7Jbl42d4x770+xCK83jDgbUsnYWFcNtUvEOxRe8+b4gi eL2YUZkRzZtGhSvYo1S06LupbtnaNlVYVXT10FROO+91YGy92eOpc2PSBH9rzYZJzM qhfwqT+uX/68a+N7HUantiCqaJxlNc7R5fTJjy7PqNAqk/IOvcR4/95rf285h0ldVu FwSjTrIArE4HQ== From: peter@polidoro.io Date: Wed, 29 Jun 2022 10:46:32 -0400 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * gnu/packages/crates-io.scm (rust-loom-0.5): New variable. --- gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 155d693430..c1a54bdecf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -32646,6 +32646,38 @@ (define-public rust-logtest-2 (description "This package tests and asserts log statements.") (license (list license:expat license:asl2.0)))) +(define-public rust-loom-0.5 + (package + (name "rust-loom") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "loom" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1x9hmiv00ir79kypcg0jdw0j0fkd3ymq6rpv6pli6q5qifrfql7z")))) + (build-system cargo-build-system) + (arguments + ;; FIXME: build phase fails with the error: "the + ;; `#[track_caller]` attribute is an experimental feature". + `(#:skip-build? #true + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-futures-util" ,rust-futures-util-0.3) + ("rust-generator" ,rust-generator-0.6) + ("rust-scoped-tls" ,rust-scoped-tls-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://github.com/tokio-rs/loom") + (synopsis "Permutation testing for concurrent code") + (description + "Loom is a testing tool for concurrent Rust code. It runs a test many +times, permuting the possible concurrent executions of that test under the C11 +memory model. It uses state reduction techniques to avoid combinatorial +explosion.") + (license license:expat))) + (define-public rust-loom-0.4 (package (name "rust-loom")