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 authored and GitHub committed 2021-02-09 16:48:29 +00:00
1 parent ef6615ba65
commit eb7226bb4a
6 files changed
+104 -8

No files matched your search

+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()[..],