wasmtime: Rip out incomplete/incorrect externref "host info" support
Better to be loud that we don't support attaching arbitrary host info to `externref`s than to limp along and pretend we do support it. Supporting it properly won't reuse any of this code anyways.
This commit is contained in:
@@ -59,7 +59,7 @@ pub extern "C" fn wasmtime_global_new(
|
||||
handle_result(global, |global| {
|
||||
*ret = Box::into_raw(Box::new(wasm_global_t {
|
||||
ext: wasm_extern_t {
|
||||
which: ExternHost::Global(HostRef::new(&store.store, global)),
|
||||
which: ExternHost::Global(HostRef::new(global)),
|
||||
},
|
||||
}));
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user