Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
193 changes: 193 additions & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ cargo_metadata = "0.20.0"
clap = "4.5.8"
colored = "2.1.0"
const-str = "0.5"
criterion = "0.8.2"
crossbeam = "0.8.4"
defer = "0.2.1"
derive_more = { version = "2.0.1", default-features = false, features = [
Expand Down Expand Up @@ -291,6 +292,7 @@ gear-wasm-builder = { path = "sdk/wasm-builder", default-features = false }
gear-wasm-optimizer = { path = "sdk/wasm-optimizer", default-features = false }
gear-wasm-gen = { path = "protocol/wasm-gen" }
gear-wasm-instrument = { path = "protocol/wasm-instrument", default-features = false }
gear-wasmtime-cache = { version = "1.10.0", path = "protocol/wasmtime-cache" }
junit-common = { path = "vara/tools/regression-analysis/junit-common" }
actor-system-error = { path = "protocol/actor-system-error" }
pallet-gear = { path = "vara/pallets/gear", default-features = false }
Expand Down Expand Up @@ -566,6 +568,7 @@ nix = "0.26.4" # gear-lazy-pages
ipc-channel = "0.19.0" # lazy-pages-fuzzer
itertools = { version = "0.13", default-features = false } # sdk/wasm-builder
libp2p = "=0.51.4" # vara/sdk/gcli (same version as sc-consensus)
loom = "0.7.2" # protocol/wasmtime-cache
mimalloc = { version = "0.1.46", default-features = false } # vara/node/cli
nacl = "0.5.3" # vara/sdk/gcli
libfuzzer-sys = "0.4" # vara/tools/runtime-fuzzer/fuzz
Expand Down Expand Up @@ -603,6 +606,7 @@ ip_network = "0.4.1" # ethexe/network
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(fuzz)',
'cfg(loom)',
'cfg(substrate_runtime)',
] }

Expand Down
2 changes: 1 addition & 1 deletion ethexe/processor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ core-processor.workspace = true

futures.workspace = true
thiserror.workspace = true
wasmtime = "44.0.1"
wasmtime.workspace = true
log.workspace = true
parity-scale-codec = { workspace = true, features = ["std", "derive"] }
sp-allocator = { workspace = true, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion ethexe/processor/src/host/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl InstanceCreator {
.macos_use_mach_ports(false);
let engine = wasmtime::Engine::new(&config)?;

let module = wasmtime::Module::new(&engine, runtime)?;
let module = wasmtime::Module::new(&engine, &runtime)?;
let mut linker = wasmtime::Linker::new(&engine);

api::allocator::link(&mut linker)?;
Expand Down
2 changes: 2 additions & 0 deletions protocol/sandbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ gear-sandbox-env.workspace = true

# embedded executor only
wasmtime = { workspace = true, optional = true }
gear-wasmtime-cache = { workspace = true, optional = true }

gear-workspace-hack.workspace = true

Expand All @@ -43,5 +44,6 @@ std = [
"gear-sandbox-interface/std",
"gear-sandbox-env/std",
"wasmtime",
"gear-wasmtime-cache",
]
strict = []
1 change: 1 addition & 0 deletions protocol/sandbox/host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ sp-allocator = { workspace = true, features = ["std"] }
sp-wasm-interface-common = { workspace = true, features = ["std"] }
gear-sandbox-env = { workspace = true, features = ["std"] }
region.workspace = true
gear-wasmtime-cache.workspace = true

gear-workspace-hack.workspace = true

Expand Down
Loading
Loading