diff --git a/Cargo.toml b/Cargo.toml index 4363a1f..ff52d7b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "pwasm-utils" -version = "0.18.2" -edition = "2018" +version = "0.19.0" +edition = "2021" +rust-version = "1.56.1" authors = ["Nikolay Volf ", "Sergey Pepyakin "] license = "MIT/Apache-2.0" readme = "README.md" 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() {