wasm-smith
Advanced tools
| { | ||
| "git": { | ||
| "sha1": "d05406062d031ae96146486f58a965d87eefea5e" | ||
| "sha1": "d4e317f22c3bace76cb3205003bcc34b4929037d" | ||
| }, | ||
| "path_in_vcs": "crates/wasm-smith" | ||
| } |
+11
-11
@@ -653,5 +653,5 @@ # This file is automatically @generated by Cargo. | ||
| name = "wasm-encoder" | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "c55db9c896d70bd9fa535ce83cd4e1f2ec3726b0edd2142079f594fc3be1cb35" | ||
| checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" | ||
| dependencies = [ | ||
@@ -664,3 +664,3 @@ "leb128fmt", | ||
| name = "wasm-smith" | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| dependencies = [ | ||
@@ -684,5 +684,5 @@ "anyhow", | ||
| name = "wasmparser" | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "f6d8db401b0528ec316dfbe579e6ab4152d61739cfe076706d2009127970159d" | ||
| checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" | ||
| dependencies = [ | ||
@@ -696,5 +696,5 @@ "bitflags", | ||
| name = "wasmprinter" | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "eb2b6035559e146114c29a909a3232928ee488d6507a1504d8934e8607b36d7b" | ||
| checksum = "09390d7b2bd7b938e563e4bff10aa345ef2e27a3bc99135697514ef54495e68f" | ||
| dependencies = [ | ||
@@ -708,5 +708,5 @@ "anyhow", | ||
| name = "wast" | ||
| version = "243.0.0" | ||
| version = "244.0.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "df21d01c2d91e46cb7a221d79e58a2d210ea02020d57c092e79255cc2999ca7f" | ||
| checksum = "b2e7b9f9e23311275920e3d6b56d64137c160cf8af4f84a7283b36cfecbf4acb" | ||
| dependencies = [ | ||
@@ -722,5 +722,5 @@ "bumpalo", | ||
| name = "wat" | ||
| version = "1.243.0" | ||
| version = "1.244.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "226a9a91cd80a50449312fef0c75c23478fcecfcc4092bdebe1dc8e760ef521b" | ||
| checksum = "bbf35b87ed352f9ab6cd0732abde5a67dd6153dfd02c493e61459218b19456fa" | ||
| dependencies = [ | ||
@@ -727,0 +727,0 @@ "wast", |
+8
-9
@@ -14,5 +14,5 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| edition = "2021" | ||
| rust-version = "1.76.0" | ||
| rust-version = "1.81.0" | ||
| name = "wasm-smith" | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] | ||
@@ -115,3 +115,3 @@ build = false | ||
| [dependencies.wasm-encoder] | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| features = ["std"] | ||
@@ -121,3 +121,3 @@ default-features = false | ||
| [dependencies.wasmparser] | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| features = [ | ||
@@ -134,3 +134,3 @@ "simd", | ||
| [dependencies.wat] | ||
| version = "1.243.0" | ||
| version = "1.244.0" | ||
| optional = true | ||
@@ -148,3 +148,3 @@ default-features = false | ||
| [dev-dependencies.wasmparser] | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| features = [ | ||
@@ -160,7 +160,7 @@ "simd", | ||
| [dev-dependencies.wasmprinter] | ||
| version = "0.243.0" | ||
| version = "0.244.0" | ||
| default-features = false | ||
| [dev-dependencies.wat] | ||
| version = "1.243.0" | ||
| version = "1.244.0" | ||
| default-features = false | ||
@@ -172,3 +172,2 @@ | ||
| [lints.clippy] | ||
| allow_attributes_without_reason = "warn" | ||
| clone_on_copy = "warn" | ||
@@ -175,0 +174,0 @@ manual_strip = "warn" |
@@ -150,3 +150,3 @@ use std::borrow::Cow; | ||
| &imp.module, | ||
| &imp.field, | ||
| &imp.name, | ||
| crate::core::encode::translate_entity_type(&imp.entity_type), | ||
@@ -153,0 +153,0 @@ ); |
@@ -65,7 +65,3 @@ use super::*; | ||
| for im in &self.imports { | ||
| section.import( | ||
| &im.module, | ||
| &im.field, | ||
| translate_entity_type(&im.entity_type), | ||
| ); | ||
| section.import(&im.module, &im.name, translate_entity_type(&im.entity_type)); | ||
| } | ||
@@ -72,0 +68,0 @@ module.section(§ion); |
@@ -57,3 +57,3 @@ #![cfg(feature = "wasmparser")] | ||
| // (i.e. signature types are as expected) | ||
| for import in rdr { | ||
| for import in rdr.into_imports() { | ||
| let import = import.unwrap(); | ||
@@ -60,0 +60,0 @@ use AvailableImportKind as I; |
@@ -80,3 +80,3 @@ #![cfg(feature = "wasmparser")] | ||
| wasmparser::Payload::ImportSection(ir) => { | ||
| for import in ir { | ||
| for import in ir.into_imports() { | ||
| let import = import.unwrap(); | ||
@@ -83,0 +83,0 @@ imports.push(WasmImport( |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display