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

commit b5a7c5f94f0967b138dcd6ac75bccb35b3b4f23b
Author: Steve George <st...@futurile.net>
AuthorDate: Sun Mar 23 11:39:13 2025 +0000

    gnu: Add rust-regalloc2-0.10.
    
    * gnu/packages/crates-io.scm (rust-regalloc2-0.10): New variable.
    
    Change-Id: Iddfb6bd66b20ac754b6d16c1e81b530d1cf79cb4
    Signed-off-by: Steve George <st...@futurile.net>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ad8002d9e3..fd67b43378 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64606,6 +64606,34 @@ can be recreated as needed.")
 memory to speed up reallocation.")
     (license license:mpl2.0)))
 
+(define-public rust-regalloc2-0.10
+  (package
+    (name "rust-regalloc2")
+    (version "0.10.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "regalloc2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w605xdz9rhl52dds4hl41zgd82qhbvbjy859pw0ldrlnaz8v40j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+         (("rust-hashbrown" ,rust-hashbrown-0.14)
+          ("rust-libfuzzer-sys" ,rust-libfuzzer-sys-0.4)
+          ("rust-log" ,rust-log-0.4)
+          ("rust-rustc-hash" ,rust-rustc-hash-2)
+          ("rust-serde" ,rust-serde-1)
+          ("rust-slice-group-by" ,rust-slice-group-by-0.3)
+          ("rust-smallvec" ,rust-smallvec-1))))
+    (home-page "https://github.com/bytecodealliance/regalloc2";)
+    (synopsis "Backtracking register allocator inspired from IonMonkey")
+    (description
+     "This package provides a backtracking register allocator inspired from
+@code{IonMonkey}.")
+    (license (list license:asl2.0))))
+
 (define-public rust-regex-1
   (package
     (name "rust-regex")

Reply via email to