mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-14 05:21:24 +00:00
Update parity-wasm
Bring in some support for bulk-memory-operations instructions
This commit is contained in:
@ -11,7 +11,7 @@ Micro-interpreter optimized for wasm-bindgen's use case
|
||||
"""
|
||||
|
||||
[dependencies]
|
||||
parity-wasm = "0.34"
|
||||
parity-wasm = "0.35"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3"
|
||||
|
@ -248,7 +248,10 @@ impl Interpreter {
|
||||
.iter()
|
||||
.enumerate()
|
||||
.filter_map(|(i, entry)| {
|
||||
let code = entry.offset().code();
|
||||
let code = match entry.offset() {
|
||||
Some(offset) => offset.code(),
|
||||
None => return None,
|
||||
};
|
||||
if code.len() != 2 {
|
||||
return None;
|
||||
}
|
||||
|
Reference in New Issue
Block a user