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

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

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

Change-Id: I2e2e16bb1429ba6394c793a134f4bad549fa7332
---
 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 49e9732a33..139d6ae8b0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78778,6 +78778,34 @@ (define-public rust-wasmtime-environ-18
 WebAssembly environment.")
     (license license:asl2.0))) ;; With LLVM exception.
 
+(define-public rust-wasmtime-fiber-18
+  (package
+    (name "rust-wasmtime-fiber")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-fiber" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0c9cv409vm5fky5v3i62420v2s1hv6q66mjz4v8l2xqiy9jzc7cv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-cc" ,rust-cc-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-rustix" ,rust-rustix-0.38)
+        ("rust-wasmtime-asm-macros" ,rust-wasmtime-asm-macros-18)
+        ("rust-wasmtime-versioned-export-macros"
+         ,rust-wasmtime-versioned-export-macros-18)
+        ("rust-windows-sys" ,rust-windows-sys-0.52))))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "Fiber support for Wasmtime")
+    (description "Fiber support for Wasmtime")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wasmtime-types-18
   (package
     (name "rust-wasmtime-types")
-- 
2.41.0