Skip to content

Commit

Permalink
refactor(sandbox-host): Process wasm-globals on wasmer side (#2969)
Browse files Browse the repository at this point in the history
  • Loading branch information
gshep authored Aug 15, 2023
1 parent b527d8b commit 77b9548
Show file tree
Hide file tree
Showing 35 changed files with 5,121 additions and 4,838 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions core-backend/codegen/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,14 @@ impl HostFn {
let run: Expr = match self.meta.call_type {
CallType::Any => {
parse_quote! {
ctx.run_any(#cost, |ctx| {
ctx.run_any(gas, #cost, |ctx| {
#inner_block
})
}
}
CallType::Fallible => {
parse_quote! {
ctx.run_fallible::<_, _, #err>(err_mid_ptr, #cost, |ctx| {
ctx.run_fallible::<_, _, #err>(gas, err_mid_ptr, #cost, |ctx| {
#inner_block
})
}
Expand Down
Loading

0 comments on commit 77b9548

Please sign in to comment.