mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-15 15:50:50 +00:00
cargo fmt
This commit is contained in:
parent
bb8b4960b8
commit
b484ebb848
@ -130,11 +130,7 @@ impl LocalBacking {
|
||||
memories: &mut SliceMap<LocalMemoryIndex, Memory>,
|
||||
) -> LinkResult<BoxedMap<LocalMemoryIndex, *mut vm::LocalMemory>> {
|
||||
// For each init that has some data...
|
||||
for init in module
|
||||
.info
|
||||
.data_initializers
|
||||
.iter()
|
||||
{
|
||||
for init in module.info.data_initializers.iter() {
|
||||
let init_base = match init.base {
|
||||
Initializer::Const(Value::I32(offset)) => offset as u32,
|
||||
Initializer::Const(_) => panic!("a const initializer must be the i32 type"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user