Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
* opening a PR for wasmer: ["calling Ctx data_finalizer upon de…
Browse files Browse the repository at this point in the history
…struction"](wasmerio/wasmer#561)

* updating crates
  • Loading branch information
YaronWittenstein committed Jul 15, 2019
1 parent 68ef2c1 commit dccb775
Show file tree
Hide file tree
Showing 10 changed files with 327 additions and 396 deletions.
411 changes: 121 additions & 290 deletions crates/svm-core/Cargo.lock

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions crates/svm-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ description = "Spacemesh Virtual Machine"
publish = false

[dependencies]
wasmer-runtime = { git = "https://github.com/yaronwittenstein/wasmer" }
wasmer-runtime-core = { git = "https://github.com/yaronwittenstein/wasmer" }
wasmer-runtime-c-api = { git = "https://github.com/yaronwittenstein/wasmer" }
wasmer-singlepass-backend = { git = "https://github.com/yaronwittenstein/wasmer" }
wasmer-singlepass-backend = { git = "https://github.com/yaronwittenstein/wasmer", branch = "ctx-drop-finalizer" }
wasmparser = "0.31.1"
svm-storage = { path = "../svm-storage/" }

[dependencies.wasmer-runtime]
default-features = false
git = "https://github.com/yaronwittenstein/wasmer"
branch = "ctx-drop-finalizer"
features = ["singlepass"]

[dependencies.wasmer-runtime-core]
default-features = false
git = "https://github.com/yaronwittenstein/wasmer"
branch = "ctx-drop-finalizer"
features = ["backend-singlepass"]

[dev-dependencies]
wabt = "0.7.4"

Expand Down
1 change: 0 additions & 1 deletion crates/svm-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
mod compiler;

mod middleware;
mod vm;

pub use compiler::compile_program;
2 changes: 0 additions & 2 deletions crates/svm-core/src/middleware/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ mod tests {

#[test]
fn test_parser_floats_are_not_supported() {
let compiler = svm_compiler!();

let input = r#"
(module
(func $to_float (param i32) (result f32)
Expand Down
30 changes: 0 additions & 30 deletions crates/svm-core/src/vm.rs

This file was deleted.

Loading

0 comments on commit dccb775

Please sign in to comment.