Move wasm file format code into a submodule

This commit is contained in:
Brian Carroll 2021-11-03 11:20:16 +00:00
parent 7fa6436ee6
commit ad9b761fce
10 changed files with 45 additions and 50 deletions

View file

@ -0,0 +1,12 @@
pub mod code_builder;
pub mod opcodes;
pub mod sections;
pub mod serialize;
pub use code_builder::{
Align, BlockType, CodeBuilder, LocalId, ValueType, VirtualMachineSymbolState,
};
pub use sections::{
Export, ExportType, Global, GlobalInitValue, GlobalType, LinkingSubSection, Signature, SymInfo,
WasmModule,
};