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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 00c8731b18..2cd6669569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78926,6 +78926,27 @@ (define-public rust-wasmtime-wit-bindgen-18
  @acronym{WIT, WebAssembly Interface Type} files.")
     (license license:asl2.0))) ;; With LLVM exception.
 
+(define-public rust-wasmtime-wmemcheck-18
+  (package
+    (name "rust-wasmtime-wmemcheck")
+    (version "18.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "wasmtime-wmemcheck" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bsg5iadgk1gpqbwk6swih5z181j4kjq35gq7798qfr0pmlxjirq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/bytecodealliance/wasmtime")
+    (synopsis "WebAssembyl memory checking for Wasmtime")
+    (description "This package provides wmemcheck a memory checker for
+Wasmtime with the ability to check for invalid @code{malloc} calls, reads and
+writes inside a WebAssembly module.")
+    (license license:asl2.0))) ;; With LLVM exception.
+
 (define-public rust-wast-201
   (package
     (name "rust-wast")
-- 
2.41.0