guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

188/194: gnu: Add rust-count-instructions-0.1.


From: guix-commits
Subject: 188/194: gnu: Add rust-count-instructions-0.1.
Date: Tue, 3 Oct 2023 14:58:16 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit bb0c69a1afd924ba6f930510cfd349e5df49ad93
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 16:09:17 2023 +0300

    gnu: Add rust-count-instructions-0.1.
    
    * gnu/packages/crates-io.scm (rust-count-instructions-0.1): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 47164a3ec5..dd09ebf916 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15708,6 +15708,27 @@ intrinsics.")
     (description "This package provides a Manual coverage marks.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-count-instructions-0.1
+  (package
+    (name "rust-count-instructions")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "count-instructions" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ps0254pvx3nmnxs2v60kv7fqayh82r3jqypb4l3ql3i7s3rzr1n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-rustix" ,rust-rustix-0.38))))
+    (home-page "https://github.com/cesarb/count_instructions";)
+    (synopsis "Counts the instructions executed within a single function")
+    (description "Counts the instructions executed within a single function.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-countme-3
   (package
     (name "rust-countme")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]