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
+1
View File
@@ -80,6 +80,7 @@ mod tests {
Some(8),
sp_io::SubstrateHostFunctions::host_functions(),
8,
None,
);
let res = executor.call_in_wasm(
&wasm_binary_unwrap()[..],