Skip to content

Commit

Permalink
Fixed issues with revert
Browse files Browse the repository at this point in the history
  • Loading branch information
cloutiertyler committed Oct 18, 2023
1 parent f25df58 commit fb32970
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/core/src/host/wasm_common.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod abi;
pub mod instrumentation;
pub mod module_host_actor;

Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/host/wasmer/wasmer_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ impl module_host_actor::WasmInstancePre for WasmerModule {
.into());
}

env.as_mut(&mut store).mem = Some(mem);
env.as_mut(&mut store).instantiate(mem);

// Note: this budget is just for initializers
let budget = EnergyQuanta::DEFAULT_BUDGET.as_points();
Expand Down

0 comments on commit fb32970

Please sign in to comment.