Add missing expose_wasm_vector_len

Found through some testing I did awhile back!
This commit is contained in:
Alex Crichton 2019-04-25 19:21:13 -07:00
parent 7decb133f0
commit 21205eccf2

View File

@ -1450,6 +1450,7 @@ impl<'a> Context<'a> {
}
self.require_internal_export("__wbindgen_malloc")?;
self.expose_uint32_memory();
self.expose_wasm_vector_len();
if self.config.anyref {
// TODO: using `addToAnyrefTable` goes back and forth between wasm
// and JS a lot, we should have a bulk operation for this.