Skip to content

Commit

Permalink
Add an eager per-host ModuleCache, gate work on feature="next"
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Mar 9, 2024
1 parent ecb144c commit b325786
Show file tree
Hide file tree
Showing 18 changed files with 1,415 additions and 723 deletions.
2 changes: 1 addition & 1 deletion soroban-env-host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
version.workspace = true
readme = "../README.md"
edition = "2021"
rust-version.workspace = true
rust-version = "1.74"
build = "build.rs"

exclude = ["observations/"]
Expand Down
2 changes: 1 addition & 1 deletion soroban-env-host/benches/common/cost_types/invoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl HostCostMeasurement for InvokeVmFunctionMeasure {
fn new_random_case(host: &Host, _rng: &mut StdRng, _input: u64) -> (Rc<Vm>, Vec<Value>) {
let id: Hash = [0; 32].into();
let code = wasm_module_with_empty_invoke();
let vm = Vm::new(&host, id, &code, None).unwrap();
let vm = Vm::new(&host, id, &code).unwrap();
let args = vec![Value::I64(0); MAX_VM_ARGS];
(vm, args)
}
Expand Down
Loading

0 comments on commit b325786

Please sign in to comment.