From 90cb67d5d7fbb8423af07320beeff5085bf66c52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Nov 2022 09:35:58 +0100 Subject: [PATCH] Update wasmparser requirement from 0.92 to 0.94 (#36) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update wasmparser requirement from 0.92 to 0.94 Updates the requirements on [wasmparser](https://github.com/bytecodealliance/wasm-tools) to permit the latest version. - [Release notes](https://github.com/bytecodealliance/wasm-tools/releases) - [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wasmparser-0.92.0...wasmparser-0.94.0) --- updated-dependencies: - dependency-name: wasmparser dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Fix whitespace differences in tests Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Theißen --- Cargo.toml | 2 +- tests/expectations/gas/branch.wat | 2 +- tests/expectations/gas/ifs.wat | 2 +- tests/expectations/gas/simple.wat | 6 +++--- tests/expectations/stack-height/empty_functions.wat | 6 +++--- tests/expectations/stack-height/global.wat | 4 ++-- tests/expectations/stack-height/imports.wat | 2 +- tests/expectations/stack-height/many_locals.wat | 2 +- tests/expectations/stack-height/simple.wat | 2 +- tests/expectations/stack-height/start.wat | 4 ++-- tests/expectations/stack-height/table.wat | 6 +++--- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2dc7e05..4319bc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ diff = "0.1" pretty_assertions = "1" rand = "0.8" wat = "1" -wasmparser = "0.92" +wasmparser = "0.94" wasmprinter = "0.2" [features] diff --git a/tests/expectations/gas/branch.wat b/tests/expectations/gas/branch.wat index a02c7ad..adc67a3 100644 --- a/tests/expectations/gas/branch.wat +++ b/tests/expectations/gas/branch.wat @@ -6,7 +6,7 @@ (local i32 i32) i64.const 13 call 0 - block ;; label = @1 + block ;; label = @1 i32.const 0 local.set 0 i32.const 1 diff --git a/tests/expectations/gas/ifs.wat b/tests/expectations/gas/ifs.wat index 642ea43..972fd24 100644 --- a/tests/expectations/gas/ifs.wat +++ b/tests/expectations/gas/ifs.wat @@ -6,7 +6,7 @@ i64.const 2 call 0 i32.const 1 - if (result i32) ;; label = @1 + if (result i32) ;; label = @1 i64.const 3 call 0 local.get 0 diff --git a/tests/expectations/gas/simple.wat b/tests/expectations/gas/simple.wat index 42f0fd6..b1b7f56 100644 --- a/tests/expectations/gas/simple.wat +++ b/tests/expectations/gas/simple.wat @@ -6,10 +6,10 @@ i64.const 2 call 0 i32.const 1 - if ;; label = @1 + if ;; label = @1 i64.const 1 call 0 - loop ;; label = @2 + loop ;; label = @2 i64.const 2 call 0 i32.const 123 @@ -20,7 +20,7 @@ (func (;2;) (type 0) i64.const 1 call 0 - block ;; label = @1 + block ;; label = @1 end ) (export "simple" (func 1)) diff --git a/tests/expectations/stack-height/empty_functions.wat b/tests/expectations/stack-height/empty_functions.wat index a32b02c..8a13ffe 100644 --- a/tests/expectations/stack-height/empty_functions.wat +++ b/tests/expectations/stack-height/empty_functions.wat @@ -8,7 +8,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 0 @@ -25,7 +25,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 0 @@ -42,7 +42,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 1 diff --git a/tests/expectations/stack-height/global.wat b/tests/expectations/stack-height/global.wat index 4add98c..4558b31 100644 --- a/tests/expectations/stack-height/global.wat +++ b/tests/expectations/stack-height/global.wat @@ -24,7 +24,7 @@ global.get 1 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $i32.add @@ -44,7 +44,7 @@ global.get 1 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $i32.add diff --git a/tests/expectations/stack-height/imports.wat b/tests/expectations/stack-height/imports.wat index 9879822..9b43719 100644 --- a/tests/expectations/stack-height/imports.wat +++ b/tests/expectations/stack-height/imports.wat @@ -20,7 +20,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 2 diff --git a/tests/expectations/stack-height/many_locals.wat b/tests/expectations/stack-height/many_locals.wat index 8893fdd..a6801b3 100644 --- a/tests/expectations/stack-height/many_locals.wat +++ b/tests/expectations/stack-height/many_locals.wat @@ -11,7 +11,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $one-group-many-locals diff --git a/tests/expectations/stack-height/simple.wat b/tests/expectations/stack-height/simple.wat index 4f83649..f47099e 100644 --- a/tests/expectations/stack-height/simple.wat +++ b/tests/expectations/stack-height/simple.wat @@ -12,7 +12,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 0 diff --git a/tests/expectations/stack-height/start.wat b/tests/expectations/stack-height/start.wat index 1e82a84..25988e3 100644 --- a/tests/expectations/stack-height/start.wat +++ b/tests/expectations/stack-height/start.wat @@ -15,7 +15,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $start @@ -32,7 +32,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 2 diff --git a/tests/expectations/stack-height/table.wat b/tests/expectations/stack-height/table.wat index 56334c1..12cf982 100644 --- a/tests/expectations/stack-height/table.wat +++ b/tests/expectations/stack-height/table.wat @@ -13,7 +13,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $i32.add @@ -37,7 +37,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call 1 @@ -56,7 +56,7 @@ global.get 0 i32.const 1024 i32.gt_u - if ;; label = @1 + if ;; label = @1 unreachable end call $i32.add