Stable backports (WASM libraries bump) (#8219)

* bump wasm libs (#8171)

* bump wasmi version (#8209)
This commit is contained in:
Nikolay Volf
2018-03-26 18:25:55 +08:00
committed by Tomasz Drwięga
parent 4a67b1b8f7
commit fc53f27c86
4 changed files with 28 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ ethcore-bigint = { path = "../../util/bigint" }
log = "0.3"
parity-wasm = "0.27"
libc = "0.2"
wasm-utils = { git = "https://github.com/paritytech/wasm-utils" }
pwasm-utils = "0.1"
vm = { path = "../vm" }
ethcore-logger = { path = "../../logger" }
wasmi = { git = "https://github.com/paritytech/wasmi" }
wasmi = { version = "0.1", features = ["opt-in-32bit"] }

View File

@@ -130,7 +130,7 @@ pub fn run_fixture(fixture: &Fixture) -> Vec<Fail> {
Err(e) => { return Fail::load(e); },
};
let mut ext = FakeExt::new();
let mut ext = FakeExt::new().with_wasm();
params.code = Some(Arc::new(
if let Source::Constructor { ref arguments, ref sender, ref at, .. } = fixture.source {
match construct(&mut ext, source, arguments.clone().into(), sender.clone().into(), at.clone().into()) {

View File

@@ -24,7 +24,7 @@ extern crate ethcore_bigint as bigint;
extern crate libc;
extern crate parity_wasm;
extern crate vm;
extern crate wasm_utils;
extern crate pwasm_utils as wasm_utils;
extern crate wasmi;
mod runtime;