mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-12 08:31:21 +00:00
remove feature flag on custom sections
This commit is contained in:
@ -28,4 +28,3 @@ wabt = "0.7.4"
|
||||
[features]
|
||||
debug = ["wasmer-runtime-core/debug"]
|
||||
disasm = ["capstone"]
|
||||
vfs = ["wasmer-runtime-core/vfs"]
|
||||
|
@ -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(),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user