github.com/tetratelabs/wazero@v1.7.3-0.20240513003603-48f702e154b5/internal/integration_test/vs/testdata/hostcall.wat (about) 1 (module 2 ;; env.f must be a host function for benchmarks on the cost of host calls which cross the Wasm<>Go boundary. 3 (func $host_func (import "env" "f") (param i64) (result i64)) 4 ;; call_host_func calls "env.f" and returns the resut as-is. 5 (func (export "call_host_func") (param i64) (result i64) 6 local.get 0 7 call $host_func 8 ) 9 )