Skip to content

Commit

Permalink
update to wasmer4
Browse files Browse the repository at this point in the history
  • Loading branch information
damip committed Jul 11, 2023
1 parent ca2c7f1 commit 8571965
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 37 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ edition = "2021"
anyhow = "1.0"
serde = "=1.0"
serde_json = "=1.0"
wasmer = { version = "=3.3.0", features = ["static-artifact-create"] }
wasmer-compiler-singlepass = "=3.3.0"
wasmer-compiler-cranelift = "=3.3.0"
wasmer-types = "=3.3.0"
wasmer-middlewares = "=3.3.0"
wasmer = { version = "=4.0.0", features = ["static-artifact-create"] }
wasmer-compiler-singlepass = "=4.0.0"
wasmer-compiler-cranelift = "=4.0.0"
wasmer-types = "=4.0.0"
wasmer-middlewares = "=4.0.0"
tracing = "0.1"
as-ffi-bindings = { git = "https://github.com/massalabs/as-ffi-bindings.git", tag = "v0.4.0" }
as-ffi-bindings = { git = "https://github.com/massalabs/as-ffi-bindings.git", tag = "0.5.0" }
base64 = "=0.21"
serial_test = "1.0.0"
serial_test = "2.0.0"
loupe = "0.1"
parking_lot = "0.12"
rand = "=0.8"
Expand All @@ -27,7 +27,7 @@ sha2 = "=0.10.6"
regex = "1"
more-asserts = "0.3"
function_name = "0.3"
num_enum = "0.5"
num_enum = "0.6"
prost = "=0.11.9"
prost-types = "=0.11.9"

Expand Down
1 change: 1 addition & 0 deletions src/as_execution/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use crate::tunable_memory::LimitingTunables;
use crate::{GasCosts, Interface, Response};
use anyhow::Result;
use std::sync::Arc;
use wasmer::NativeEngineExt;
use wasmer::{wasmparser::Operator, BaseTunables, Engine, EngineBuilder, Pages, Target};
use wasmer::{CompilerConfig, Cranelift, Features, Module, Store};
use wasmer_compiler_singlepass::Singlepass;
Expand Down
1 change: 1 addition & 0 deletions src/wasmv1_execution/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ use anyhow::Result;
pub(crate) use error::*;
use parking_lot::Mutex;
use std::sync::Arc;
use wasmer::NativeEngineExt;
use wasmer::{wasmparser::Operator, BaseTunables, EngineBuilder, Pages, Target};
use wasmer::{CompilerConfig, Cranelift, Engine, Features, Module, Store};
use wasmer_compiler_singlepass::Singlepass;
Expand Down

0 comments on commit 8571965

Please sign in to comment.