Subject: [PATCH 124/147] gnu: Add rust-wasmtime-c-api-impl-18.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cecb0e942..63b3f74e81 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79091,6 +79091,37 @@ (define-public rust-wasmtime-asm-macros-18
 functions in Wasmtime.")
     (license license:asl2.0))) ;; With LLVM exception.
 
+(define-public rust-wasmtime-c-api-impl-18
+  (package
+    (name "rust-wasmtime-c-api-impl")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-c-api-impl" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07l3s3jd3rxd8fghkpi4zs41mr88gg4vcjcky2mpzlklz13n1y8p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-cap-std" ,rust-cap-std-2)
+        ("rust-env-logger" ,rust-env-logger-0.10)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-tracing" ,rust-tracing-0.1)
+        ("rust-wasi-common" ,rust-wasi-common-18)
+        ("rust-wasmtime" ,rust-wasmtime-18)
+        ("rust-wasmtime-c-api-macros" ,rust-wasmtime-c-api-macros-18)
+        ("rust-wasmtime-wasi" ,rust-wasmtime-wasi-18)
+        ("rust-wat" ,rust-wat-1))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "Wasmtime runtime C bindings")
+    (description "This package provides bindings of Wasmtime from Rust to C.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wasmtime-c-api-macros-18
   (package
     (name "rust-wasmtime-c-api-macros")
-- 
2.41.0