Merge pull request #44 from NikVolf/tests_continue

Another tests added
This commit is contained in:
Nikolay Volf
2017-06-13 13:45:37 +03:00
committed by GitHub
23 changed files with 540 additions and 301 deletions

View File

@ -311,6 +311,12 @@ impl<F> ModuleBuilder<F> where F: Invoke<elements::Module> {
self
}
/// With table
pub fn with_table(mut self, table: elements::TableType) -> Self {
self.module.table.entries_mut().push(table);
self
}
/// Export entry builder
pub fn export(self) -> export::ExportBuilder<Self> {
export::ExportBuilder::with_callback(self)