[bug#74767,rust-team,05/23] gnu: Update ust-wasmparser to 0.218.

Message ID 572526d1653d0f41c900ddaaa1b2aea017a97612.1733840023.git.maxim.cournoyer@gmail.com
State New
Headers
Series Add py-spy. |

Commit Message

Maxim Cournoyer Dec. 10, 2024, 2:21 p.m. UTC
  * gnu/packages/crates-io.scm (rust-wasmparser-0.216): Replace with...
(rust-wasmparser-0.218): ... this.  Add comment w.r.t. disabling tests.
(rust-wasmparser-0.118): Inherit from it, removing now duplicate fields.
(rust-object-0.36): Adjust accordingly.

Change-Id: I712c36a92d751447560c9c5ca9770c450cfc5030
---
 gnu/packages/crates-io.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e02212980d..7461fba144 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52174,7 +52174,7 @@  (define-public rust-object-0.36
         ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
         ("rust-ruzstd" ,rust-ruzstd-0.7)
-        ("rust-wasmparser" ,rust-wasmparser-0.216))))
+        ("rust-wasmparser" ,rust-wasmparser-0.218))))
     (home-page "https://github.com/gimli-rs/object")
     (synopsis "Unified interface for reading and writing object file formats")
     (description
@@ -95732,20 +95732,23 @@  (define-public rust-wasm-sync-0.1
 and native running processes.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-wasmparser-0.216
+(define-public rust-wasmparser-0.218
   (package
     (name "rust-wasmparser")
-    (version "0.216.0")
+    (version "0.218.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "wasmparser" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1qr8j1c15r208d9nsjw01x3w71m9i4g756djnhgk37b1lfzfdpmw"))))
+        (base32 "1p65jvj1i6bh180hd656z8yzkn3zx8vs3a6i5lmsgspczk3ld7mh"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; failed to resolve: use of undeclared crate or module `wat`
+     ;; The test suite fails with error "failed to resolve: use of undeclared
+     ;; crate or module `wat`" (see:
+     ;; https://github.com/bytecodealliance/wasm-tools/issues/1947).
+     `(#:tests? #f
        #:cargo-inputs (("rust-ahash" ,rust-ahash-0.8)
                        ("rust-bitflags" ,rust-bitflags-2)
                        ("rust-hashbrown" ,rust-hashbrown-0.14)
@@ -95768,7 +95771,7 @@  (define-public rust-wasmparser-0.216
 
 (define-public rust-wasmparser-0.118
   (package
-    (inherit rust-wasmparser-0.216)
+    (inherit rust-wasmparser-0.218)
     (name "rust-wasmparser")
     (version "0.118.2")
     (source