Subject: [PATCH rust-team v3 70/78] gnu: Add rust-wasmi-core-0.36.

From: Andrew Wong <[email-masked]>
Date: Sun, 2 Mar 2025 16:30:41 -0500

* gnu/packages/crates-io.scm (rust-wasmi-core-0.36): New variable.

Change-Id: Ib78ec980b99510e40d02a186cd197a486ca7b565
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c28e03a49..0bc1b54cf1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93481,6 +93481,30 @@ (define-public rust-wasmi-collections-0.36
      "This package provides Specialized data structures for the Wasmi interpreter.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-wasmi-core-0.36
+  (package
+    (name "rust-wasmi-core")
+    (version "0.36.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmi_core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1zvmyc05ln8dhnyh46rvnrlkgb7f558f5k29agyprhap2ii152zh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-downcast-rs" ,rust-downcast-rs-1)
+                       ("rust-libm" ,rust-libm-0.2)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-paste" ,rust-paste-1))))
+    (home-page "https://github.com/wasmi-labs/wasmi")
+    (synopsis "Core primitives for the wasmi WebAssembly interpreter")
+    (description
+     "This package provides Core primitives for the wasmi @code{WebAssembly} interpreter.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-wasite-0.1
   (package
     (name "rust-wasite")
-- 
2.48.1