Skip to content

Commit

Permalink
Use wasmer instead of wasmi in tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Sep 26, 2024
1 parent 158824e commit 766afc1
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 222 deletions.
90 changes: 17 additions & 73 deletions Cargo.lock

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

6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ wabt = "0.10.0"
wasmer = "4.3.4"
wasmer-cache = "4.3.4"
wasmer-types = "4.3.4"
wasmi = { version = "0.14.0", default-features = false }
wasmtime = "8.0.1"
wasmparser = { package = "wasmparser-nostd", version = "0.100.1", default-features = false }
which = "4.4.2"
Expand Down Expand Up @@ -538,11 +537,6 @@ num-traits = { version = "0.2", default-features = false } # gear-core
glob = "0.3.1" # cargo-gbuild
smallvec = "1.13.2" # utils/node-wrapper

# TODO: remove after wasmer bug is fixed:
# `misaligned pointer dereference: address must be a multiple of 0x8 but is...`
[profile.dev.package."wasmer-vm"]
debug-assertions = false

[profile.release]
panic = "unwind"

Expand Down
4 changes: 2 additions & 2 deletions gcli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ etc.workspace = true
runtime-primitives.workspace = true
url = { workspace = true, features = ["serde"] }
toml.workspace = true
# TODO: use wasmi from workspace (#3214)
wasmi = { version = "0.30.0", features = ["std"] }
wasmer = { workspace = true, features = ["std"] }
wasmer-types.workspace = true

[dev-dependencies]
rand.workspace = true
Expand Down
Loading

0 comments on commit 766afc1

Please sign in to comment.