mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Experimental: clone host envs during construction
This commit is contained in:
@@ -88,8 +88,7 @@ where
|
||||
let signature = FunctionType::new(Args::wasm_types(), Rets::wasm_types());
|
||||
Self {
|
||||
// TODO:
|
||||
import_init_function_ptr: None,
|
||||
host_env_drop_fn: None,
|
||||
metadata: None,
|
||||
vm_function: Arc::new(VMExportFunction {
|
||||
address: other.address,
|
||||
vmctx: other.vmctx,
|
||||
@@ -114,8 +113,7 @@ where
|
||||
definition: other.definition,
|
||||
exported: ExportFunction {
|
||||
// TODO:
|
||||
import_init_function_ptr: None,
|
||||
host_env_drop_fn: None,
|
||||
metadata: None,
|
||||
vm_function: Arc::new(VMExportFunction {
|
||||
address: other.address,
|
||||
vmctx: other.vmctx,
|
||||
|
||||
Reference in New Issue
Block a user