diff options
| author | Andreu Botella <abb@randomunok.com> | 2021-09-29 10:47:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-29 10:47:24 +0200 |
| commit | cdb252af0aa7251f339a77638b32af89f112d13d (patch) | |
| tree | 94dffeea0bf7c6315c64cd9797cdbf662806bf71 /cli/main.rs | |
| parent | 5b526e5d1734ddb6ef4c5ee7b59a5f45e70a38e5 (diff) | |
feat: support serializing `WebAssembly.Module` objects (#12140)
Diffstat (limited to 'cli/main.rs')
| -rw-r--r-- | cli/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs index a217d2cf4..ba16ea590 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -134,6 +134,7 @@ fn create_web_worker_callback(ps: ProcState) -> Arc<CreateWebWorkerCb> { blob_store: ps.blob_store.clone(), broadcast_channel: ps.broadcast_channel.clone(), shared_array_buffer_store: Some(ps.shared_array_buffer_store.clone()), + compiled_wasm_module_store: Some(ps.compiled_wasm_module_store.clone()), cpu_count: num_cpus::get(), }; @@ -222,6 +223,7 @@ pub fn create_main_worker( blob_store: ps.blob_store.clone(), broadcast_channel: ps.broadcast_channel.clone(), shared_array_buffer_store: Some(ps.shared_array_buffer_store.clone()), + compiled_wasm_module_store: Some(ps.compiled_wasm_module_store.clone()), cpu_count: num_cpus::get(), }; |
