Skip to content

Commit

Permalink
Update wasmer to 2.3.0 with some fixes from 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
sidenaio committed Mar 16, 2023
1 parent faf7eb3 commit 5443d08
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 33 deletions.
42 changes: 14 additions & 28 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ anyhow = "1.0"
wat = "1.0"
errno = "0.2.8"
thiserror = "1.0"
wasmer = { version = "2.3.0", default-features = false, features = ["cranelift", "universal", "singlepass"] }
wasmer-types = "2.3.0"
wasmer-middlewares = { version = "2.3.0" }
wasmer-engine-universal = { version = "2.3.0" }
wasmer = { git = "https://github.com/idena-network/wasmer", rev = "de83b23", default-features = false, features = ["cranelift", "universal", "singlepass"] }
wasmer-types = { git = "https://github.com/idena-network/wasmer", rev = "de83b23" }
wasmer-middlewares = { git = "https://github.com/idena-network/wasmer", rev = "de83b23" }
wasmer-engine-universal = { git = "https://github.com/idena-network/wasmer", rev = "de83b23" }
loupe = "0.1.3"
protobuf = "2.27.1"
indexmap = "1.7.0"
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cargo build --release --target=x86_64-pc-windows-gnu --verbose
cp .\target\x86_64-pc-windows-gnu\release\libidena_wasm.a ..\idena-wasm-binding\lib\libidena_wasm_win.a
cp .\target\x86_64-pc-windows-gnu\release\libidena_wasm.a ..\idena-wasm-binding\lib\libidena_wasm_windows_amd64.a
cbindgen --config cbindgen.toml --crate idena-wasm --output bindings.h
cp .\bindings.h ..\idena-wasm-binding\lib\bindings.h

0 comments on commit 5443d08

Please sign in to comment.