From abd5d4f6df3033fba9b0a6f86643c4c0127751e7 Mon Sep 17 00:00:00 2001 From: Dan Shields <35669742+NukeManDan@users.noreply.github.com> Date: Sat, 13 Nov 2021 19:59:13 -0700 Subject: [PATCH 1/3] move to rust 2021 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4363a1f..951995b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pwasm-utils" version = "0.18.2" -edition = "2018" +edition = "2021" authors = ["Nikolay Volf ", "Sergey Pepyakin "] license = "MIT/Apache-2.0" readme = "README.md" From 1d62dc1270db882ae7fc16ac6eb83a3352e392ff Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Sat, 13 Nov 2021 19:05:45 -0800 Subject: [PATCH 2/3] cargo fmt --- src/optimizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimizer.rs b/src/optimizer.rs index 909ac5c..621e47b 100644 --- a/src/optimizer.rs +++ b/src/optimizer.rs @@ -299,7 +299,7 @@ pub fn optimize( update_type_index(func_body.code_mut(), &eliminated_types) } } - } + }, elements::Section::Export(export_section) => { for export in export_section.entries_mut() { match export.internal_mut() { From da2f0a0f23e2ae27dd0e324a0ba12d51c35a0d2a Mon Sep 17 00:00:00 2001 From: Dan Shields Date: Sat, 20 Nov 2021 23:46:06 -0700 Subject: [PATCH 3/3] version 0.19.0 edition = "2021" rust-version = "1.56.1" --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 951995b..ff52d7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "pwasm-utils" -version = "0.18.2" +version = "0.19.0" edition = "2021" +rust-version = "1.56.1" authors = ["Nikolay Volf ", "Sergey Pepyakin "] license = "MIT/Apache-2.0" readme = "README.md"