diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-03 10:23:52 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-18 11:36:09 +0300 |
commit | ff6c43e7e40934888e8324e9764aae12bc4abba7 (patch) | |
tree | e23eb7182b3f2308e16bee75390b868e50286daf | |
parent | 019165eeae0fc72b5a9265c8ad8c1280e1adb431 (diff) |
gnu: Add rust-debug-unreachable-0.1.
* gnu/packages/crates-io.scm (rust-debug-unreachable-0.1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
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") |