continue env module implementation

This commit is contained in:
Svyatoslav Nikolsky
2017-05-04 19:09:43 +03:00
parent 9a5ed312ec
commit 3c7ee09f8e
8 changed files with 119 additions and 33 deletions

View File

@ -220,7 +220,7 @@ impl Serialize for TypeSection {
}
/// Section of the imports definition.
#[derive(Default)]
#[derive(Debug, Default)]
pub struct ImportSection(Vec<ImportEntry>);
impl ImportSection {
@ -444,7 +444,7 @@ impl Serialize for GlobalSection {
}
/// List of exports definition.
#[derive(Default)]
#[derive(Debug, Default)]
pub struct ExportSection(Vec<ExportEntry>);
impl ExportSection {