parse and store custom sections from wasm, guarded by vfs feature flag

This commit is contained in:
Mackenzie Clark
2019-03-12 10:45:44 -07:00
parent f014a05304
commit b9c3a49f3c
6 changed files with 53 additions and 5 deletions

View File

@ -50,6 +50,9 @@ impl Module {
namespace_table: StringTable::new(),
name_table: StringTable::new(),
#[cfg(feature = "vfs")]
custom_sections: HashMap::new(),
},
}
}