WasmExecutor takes a cache directory (#8057)

That is useful for executors like wasmtime which produces compiled code
and can actually benefit from caching under some circumstances
This commit is contained in:
Sergei Shulepov
2021-02-09 17:48:29 +01:00
committed by GitHub
parent ef6615ba65
commit eb7226bb4a
6 changed files with 104 additions and 8 deletions
@@ -44,6 +44,7 @@ fn call_wasm_method_with_result<HF: HostFunctionsT>(
Some(8),
host_functions,
8,
None,
);
executor.call_in_wasm(
binary,