Fix getArrayJsValueFromWasm exposing wrong function

This needs `getUint32Memory`, not `getArrayU32FromWasm`.
This commit is contained in:
Alex Crichton 2018-07-04 08:30:18 -07:00
parent 3510b20595
commit 67b9ce58aa

View File

@ -1059,7 +1059,7 @@ impl<'a> Context<'a> {
if !self.exposed_globals.insert("get_array_js_value_from_wasm") {
return;
}
self.expose_get_array_u32_from_wasm();
self.expose_uint32_memory();
self.expose_take_object();
self.global(
"