forked from wasmi-labs/wasmi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate wasmi to edition-2018 (wasmi-labs#233)
* Migrate wasmi to edition-2018 * fmt * Fix tests.
- Loading branch information
Showing
17 changed files
with
78 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[package] | ||
name = "wasmi" | ||
version = "0.6.2" | ||
edition = "2018" | ||
authors = ["Nikolay Volf <[email protected]>", "Svyatoslav Nikolsky <[email protected]>", "Sergey Pepyakin <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
readme = "README.md" | ||
|
@@ -11,7 +12,7 @@ keywords = ["wasm", "webassembly", "bytecode", "interpreter"] | |
exclude = [ "/res/*", "/tests/*", "/fuzz/*", "/benches/*" ] | ||
|
||
[dependencies] | ||
wasmi-validation = { version = "0.3", path = "validation", default-features = false } | ||
validation = { package = "wasmi-validation", version = "0.3", path = "validation", default-features = false } | ||
parity-wasm = { version = "0.41.0", default-features = false } | ||
memory_units = "0.3.0" | ||
libm = { version = "0.1.2", optional = true } | ||
|
@@ -30,7 +31,7 @@ default = ["std"] | |
# Disable for no_std support | ||
std = [ | ||
"parity-wasm/std", | ||
"wasmi-validation/std", | ||
"validation/std", | ||
"num-rational/std", | ||
"num-rational/bigint-std", | ||
"num-traits/std", | ||
|
@@ -40,7 +41,7 @@ std = [ | |
core = [ | ||
# `core` doesn't support vec_memory | ||
"vec_memory", | ||
"wasmi-validation/core", | ||
"validation/core", | ||
"libm" | ||
] | ||
# Enforce using the linear memory implementation based on `Vec` instead of | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use crate::Module; | ||
use wabt; | ||
use Module; | ||
|
||
mod host; | ||
mod wasm; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters