guix-commits
[Top][All Lists]
Advanced

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

156/276: gnu: Add rust-debug-unreachable-0.1.


From: guix-commits
Subject: 156/276: gnu: Add rust-debug-unreachable-0.1.
Date: Wed, 18 Oct 2023 04:49:52 -0400 (EDT)

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

commit ff6c43e7e40934888e8324e9764aae12bc4abba7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:23:52 2023 +0300

    gnu: Add rust-debug-unreachable-0.1.
    
    * gnu/packages/crates-io.scm (rust-debug-unreachable-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 79c2bfeacc..41f9db8408 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19074,6 +19074,27 @@ type.")
 the Debug trait manually.")
     (license license:expat)))
 
+(define-public rust-debug-unreachable-0.1
+  (package
+    (name "rust-debug-unreachable")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "debug-unreachable" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cx4vh1d0bxdpb8l9lyiv03az4527lykxy39s4a958swf2n2w0ws"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-unreachable" ,rust-unreachable-0.1))))
+    (home-page "https://github.com/reem/rust-debug-unreachable.git";)
+    (synopsis
+     "unreachable!() in debug, std::intrinsics::unreachable() in release")
+    (description
+     "unreachable!() in debug, std::intrinsics::unreachable() in release.")
+    (license license:expat)))
+
 (define-public rust-debugger-test-0.1
   (package
     (name "rust-debugger-test")



reply via email to

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