Wasm: Convert remaining sections to store bytes, and add .size() methods

This commit is contained in:
Brian Carroll 2022-01-08 18:23:09 +00:00
parent f4ac5bffa3
commit 5d5e0eca96
5 changed files with 154 additions and 54 deletions

View file

@ -21,7 +21,7 @@ pub trait Wasm32TestResult {
ret_type: Some(ValueType::I32),
});
module.export.entries.push(Export {
module.export.append(Export {
name: wrapper_name.to_string(),
ty: ExportType::Func,
index,