Subject: [bug#70146] [PATCH 093/147] gnu: Add rust-wasmtime-winch-18.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:45 +0200

* gnu/packages/crates-io.scm (rust-wasmtime-winch-18): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2cd6669569..d69ae73b95 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78902,6 +78902,36 @@ (define-public rust-wasmtime-versioned-export-macros-18
 exports in Wasmtime.")
     (license license:asl2.0))) ;; With LLVM exception.
 
+(define-public rust-wasmtime-winch-18
+  (package
+    (name "rust-wasmtime-winch")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-winch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jilhha1qhqwqz4z7m844yc97a3jyhbfnxggkivd2hf2rjzrfnms"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-cranelift-codegen" ,rust-cranelift-codegen-0.105)
+        ("rust-gimli" ,rust-gimli-0.28)
+        ("rust-object" ,rust-object-0.32)
+        ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+        ("rust-wasmparser" ,rust-wasmparser-0.121)
+        ("rust-wasmtime-cranelift-shared" ,rust-wasmtime-cranelift-shared-18)
+        ("rust-wasmtime-environ" ,rust-wasmtime-environ-18)
+        ("rust-winch-codegen" ,rust-winch-codegen-0.16))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "Integration between Wasmtime and Winch")
+    (description "This package provides an internal crate for Wasmtime integrating
+the Winch code generation back-end.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wasmtime-wit-bindgen-18
   (package
     (name "rust-wasmtime-wit-bindgen")
-- 
2.41.0