unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: peter@polidoro.io
To: 56298@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#56298] [PATCH 6/7] gnu: Add rust-loom-0.5.
Date: Wed, 29 Jun 2022 10:46:32 -0400	[thread overview]
Message-ID: <d36c085bcd47a146452dd998b9996d444884a8cd.1656513323.git.peter@polidoro.io> (raw)
In-Reply-To: <cover.1656513323.git.peter@polidoro.io>

From: Peter Polidoro <peter@polidoro.io>

* 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")
-- 
2.36.1





  parent reply	other threads:[~2022-06-29 14:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29 14:41 [bug#56298] python-cmsis-pack-manager and dependencies Peter Polidoro
2022-06-29 14:46 ` [bug#56298] [PATCH 0/7] Add " peter
2022-06-29 14:46   ` [bug#56298] [PATCH 1/7] gnu: Add python-milksnake peter
2022-06-29 14:46   ` [bug#56298] [PATCH 2/7] gnu: Add rust-quick-xml-0.17 peter
2022-07-27 15:55     ` Maxime Devos
2022-06-29 14:46   ` [bug#56298] [PATCH 3/7] gnu: Add rust-minidom-0.12 peter
2022-07-27 16:02     ` Maxime Devos
2022-06-29 14:46   ` [bug#56298] [PATCH 4/7] gnu: rust-rustversion-1: Update to 1.0.7 peter
2022-06-29 14:46   ` [bug#56298] [PATCH 5/7] gnu: rust-anyhow-1: Update to 1.0.58 peter
2022-07-27 16:01     ` Maxime Devos
2022-07-29 19:26       ` Maxime Devos
2022-06-29 14:46   ` peter [this message]
2022-06-29 14:46   ` [bug#56298] [PATCH 7/7] gnu: Add python-cmsis-pack-manager peter

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=d36c085bcd47a146452dd998b9996d444884a8cd.1656513323.git.peter@polidoro.io \
    --to=peter@polidoro.io \
    --cc=56298@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).