Skip to content

Commit

Permalink
Further corrections based on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Feb 22, 2025
1 parent 9ac4250 commit fadb489
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linera-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ repository.workspace = true
version.workspace = true

[features]
wasmer = ["linera-execution/wasmer", "linera-storage/wasmer"]
wasmtime = ["linera-execution/wasmtime", "linera-storage/wasmtime"]
wasmer = ["linera-execution/wasmer", "linera-storage/wasmer", "linera-base/wasmer"]
wasmtime = ["linera-execution/wasmtime", "linera-storage/wasmtime", "linera-base/wasmtime"]
test = [
"anyhow",
"linera-base/test",
Expand Down
3 changes: 3 additions & 0 deletions linera-execution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ revm = [
"dep:alloy-sol-types",
"dep:hex",
"dep:tempfile",
"linera-base/revm",
]
fs = ["tokio/fs"]
metrics = ["prometheus", "linera-views/metrics"]
Expand All @@ -28,13 +29,15 @@ wasmer = [
"dep:wasmer",
"wasmer/enable-serde",
"linera-witty/wasmer",
"linera-base/wasmer",
"wasm-encoder",
"wasm-instrument",
"wasmparser",
]
wasmtime = [
"dep:wasmtime",
"linera-witty/wasmtime",
"linera-base/wasmtime",
"wasm-encoder",
"wasmparser",
]
Expand Down
2 changes: 2 additions & 0 deletions linera-execution/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ use thiserror::Error;
pub use crate::applications::ApplicationRegistry;

Check warning on line 60 in linera-execution/src/lib.rs

View workflow job for this annotation

GitHub Actions / lint-cargo-fmt

Diff in /home/runner/work/linera-protocol/linera-protocol/linera-execution/src/lib.rs
#[cfg(with_revm)]
use crate::revm::EvmExecutionError;
#[cfg(all(with_revm, not(with_wasmer), not(with_wasmtime)))]
use linera_base::vm::EvmRuntime;
use crate::runtime::ContractSyncRuntime;
#[cfg(all(with_testing, with_wasm_runtime))]
pub use crate::wasm::test as wasm_test;
Expand Down
2 changes: 2 additions & 0 deletions linera-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-gnu"]
ethereum = ["async-trait", "linera-ethereum"]
unstable-oracles = ["linera-core/unstable-oracles", "linera-execution/unstable-oracles"]
wasmer = [
"linera-base/wasmer",
"linera-core/wasmer",
"linera-execution/wasmer",
"linera-storage/wasmer",
"linera-witty/wasmer",
]
wasmtime = [
"linera-base/wasmtime",
"linera-core/wasmtime",
"linera-execution/wasmtime",
"linera-storage/wasmtime",
Expand Down

0 comments on commit fadb489

Please sign in to comment.