efraim pushed a commit to branch rust-team
in repository guix.
commit 934f316d691a1c2c547dc53a38e224d2c8360e3c
Author: Efraim Flashner <[email protected]>
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 2c40046eff..68dafd4d0f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19032,6 +19032,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")