remove feature flag on custom sections

This commit is contained in:
Mackenzie Clark
2019-03-12 13:36:11 -07:00
parent 4cee16220b
commit f2488ac410
12 changed files with 6 additions and 23 deletions

View File

@ -28,4 +28,3 @@ wabt = "0.7.4"
[features]
debug = ["wasmer-runtime-core/debug"]
disasm = ["capstone"]
vfs = ["wasmer-runtime-core/vfs"]

View File

@ -18,7 +18,6 @@ use wasmparser::{
SectionCode, Type as WpType,
};
#[cfg(feature = "vfs")]
use hashbrown::HashMap;
pub fn read_module(wasm: &[u8]) -> Result<(ModuleInfo, CodeSectionReader), BinaryReaderError> {
@ -46,7 +45,6 @@ pub fn read_module(wasm: &[u8]) -> Result<(ModuleInfo, CodeSectionReader), Binar
namespace_table: StringTable::new(),
name_table: StringTable::new(),
#[cfg(feature = "vfs")]
custom_sections: HashMap::new(),
};