From 8f4fd0c0545209076cecc736fbd53bd73959309a Mon Sep 17 00:00:00 2001 From: vms Date: Wed, 29 Dec 2021 20:11:32 +0300 Subject: [PATCH] use Wasmer with printing memory grow --- crates/it-parser/Cargo.toml | 2 +- crates/module-info-parser/Cargo.toml | 2 +- crates/module-interface/Cargo.toml | 2 +- fluence-app-service/Cargo.toml | 2 +- fluence-faas/Cargo.toml | 6 +++--- runtime/Cargo.toml | 6 +++--- tools/repl/Cargo.toml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/crates/it-parser/Cargo.toml b/crates/it-parser/Cargo.toml index f231e47d..9330026b 100644 --- a/crates/it-parser/Cargo.toml +++ b/crates/it-parser/Cargo.toml @@ -16,7 +16,7 @@ marine-module-interface = { path = "../module-interface", version = "0.1.6" } anyhow = "1.0.31" walrus = "0.18.0" -wasmer-core = { package = "wasmer-runtime-core-fl", version = "=0.17.1"} +wasmer-core = { package = "wasmer-runtime-core-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow"} wasmer-it = { package = "wasmer-interface-types-fl", version = "0.20.2" } nom = "5.1" diff --git a/crates/module-info-parser/Cargo.toml b/crates/module-info-parser/Cargo.toml index d4528720..17def6c3 100644 --- a/crates/module-info-parser/Cargo.toml +++ b/crates/module-info-parser/Cargo.toml @@ -13,7 +13,7 @@ path = "src/lib.rs" [dependencies] marine-rs-sdk-main = "0.6.13" -wasmer-core = { package = "wasmer-runtime-core-fl", version = "=0.17.1" } +wasmer-core = { package = "wasmer-runtime-core-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } anyhow = "1.0.31" chrono = "0.4.19" diff --git a/crates/module-interface/Cargo.toml b/crates/module-interface/Cargo.toml index 8c49c293..e17826ab 100644 --- a/crates/module-interface/Cargo.toml +++ b/crates/module-interface/Cargo.toml @@ -15,7 +15,7 @@ marine-it-interfaces = { path = "../it-interfaces", version = "0.4.1" } anyhow = "1.0.31" walrus = "0.18.0" -wasmer-core = { package = "wasmer-runtime-core-fl", version = "=0.17.1"} +wasmer-core = { package = "wasmer-runtime-core-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow"} wasmer-it = { package = "wasmer-interface-types-fl", version = "0.20.2" } nom = "5.1" diff --git a/fluence-app-service/Cargo.toml b/fluence-app-service/Cargo.toml index 982e1534..90e30b4f 100644 --- a/fluence-app-service/Cargo.toml +++ b/fluence-app-service/Cargo.toml @@ -15,7 +15,7 @@ serde = "1.0.118" serde_derive = "1.0.118" serde_json = "1.0.57" toml = "0.5.6" -wasmer-wasi = { package = "wasmer-wasi-fl", version = "0.17.1" } +wasmer-wasi = { package = "wasmer-wasi-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } [features] raw-module-api = ["fluence-faas/raw-module-api"] diff --git a/fluence-faas/Cargo.toml b/fluence-faas/Cargo.toml index 8ff5e834..0e9b1d14 100644 --- a/fluence-faas/Cargo.toml +++ b/fluence-faas/Cargo.toml @@ -13,10 +13,10 @@ marine-utils = { path = "../crates/utils", version = "0.4.0" } marine-rs-sdk-main = { version = "0.6.15", features = ["logger"] } marine-rs-sdk = { version = "0.6.15", features = ["logger"] } -wasmer-runtime = { package = "wasmer-runtime-fl", version = "=0.17.1" } +wasmer-runtime = { package = "wasmer-runtime-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } # dynamicfunc-fat-closures allows using state inside DynamicFunc -wasmer-core = { package = "wasmer-runtime-core-fl", version = "=0.17.1", features = ["dynamicfunc-fat-closures"] } -wasmer-wasi = { package = "wasmer-wasi-fl", version = "0.17.1" } +wasmer-core = { package = "wasmer-runtime-core-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow", features = ["dynamicfunc-fat-closures"] } +wasmer-wasi = { package = "wasmer-wasi-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } wasmer-it = { package = "wasmer-interface-types-fl", version = "0.20.2" } toml = "0.5.6" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8c023974..547b29d6 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -18,12 +18,12 @@ marine-it-generator = { path = "../crates/it-generator", version = "0.5.6" } marine-module-interface = { path = "../crates/module-interface", version = "0.1.6" } marine-utils = { path = "../crates/utils", version = "0.4.0" } -wasmer-runtime = { package = "wasmer-runtime-fl", version = "=0.17.1" } +wasmer-runtime = { package = "wasmer-runtime-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } # dynamicfunc-fat-closures allows using state inside DynamicFunc -wasmer-core = { package = "wasmer-runtime-core-fl", version = "=0.17.1", features = ["dynamicfunc-fat-closures"] } +wasmer-core = { package = "wasmer-runtime-core-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow", features = ["dynamicfunc-fat-closures"] } wasmer-it = { package = "wasmer-interface-types-fl", version = "0.20.2" } it-lilo = "0.1.0" -wasmer-wasi = { package = "wasmer-wasi-fl", version = "0.17.1" } +wasmer-wasi = { package = "wasmer-wasi-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow" } multimap = "0.8.1" boolinator = "2.4.0" diff --git a/tools/repl/Cargo.toml b/tools/repl/Cargo.toml index 0a71152b..2679ce04 100644 --- a/tools/repl/Cargo.toml +++ b/tools/repl/Cargo.toml @@ -19,7 +19,7 @@ anyhow = "1.0.31" clap = "2.33.1" serde = "1.0.118" serde_json = "1.0.57" -wasmer-wasi = { package = "wasmer-wasi-fl", version = "0.17.1"} +wasmer-wasi = { package = "wasmer-wasi-fl", git = "https://github.com/fluencelabs/wasmer", branch = "print_mem_grow"} env_logger = "0.7.1" check-latest = "1.0.0"