Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

move to rust 2021 #173

Merged
merged 3 commits into from
Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <nikvolf@gmail.com>", "Sergey Pepyakin <s.pepyakin@gmail.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down