mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-20 04:06:30 +00:00
Fix typo in panic!
This commit is contained in:
@ -139,7 +139,7 @@ impl LocalBacking {
|
|||||||
if let Value::I32(x) = imports.globals[import_global_index].get() {
|
if let Value::I32(x) = imports.globals[import_global_index].get() {
|
||||||
x as u32
|
x as u32
|
||||||
} else {
|
} else {
|
||||||
panic!("unsupported global type for initialzer")
|
panic!("unsupported global type for initializer")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} as usize;
|
} as usize;
|
||||||
@ -210,7 +210,7 @@ impl LocalBacking {
|
|||||||
if let Value::I32(x) = imports.globals[import_global_index].get() {
|
if let Value::I32(x) = imports.globals[import_global_index].get() {
|
||||||
x as u32
|
x as u32
|
||||||
} else {
|
} else {
|
||||||
panic!("unsupported global type for initialzer")
|
panic!("unsupported global type for initializer")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} as usize;
|
} as usize;
|
||||||
|
Reference in New Issue
Block a user