mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 22:28:21 +00:00
Remove deprecated Export type. Updated structure to use VMExtern
This commit is contained in:
@@ -645,7 +645,7 @@ impl Module {
|
||||
pub fn custom_sections<'a>(&'a self, name: &'a str) -> impl Iterator<Item = Box<[u8]>> + 'a {
|
||||
WebAssembly::Module::custom_sections(&self.module, name)
|
||||
.iter()
|
||||
.map(move |(buf_val)| {
|
||||
.map(move |buf_val| {
|
||||
let typebuf: js_sys::Uint8Array = js_sys::Uint8Array::new(&buf_val);
|
||||
typebuf.to_vec().into_boxed_slice()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user