mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-02 17:12:15 +00:00
Update parity-wasm dependency
This commit is contained in:
parent
ba4697bfb1
commit
a4428f01b6
@ -13,7 +13,7 @@ Shared support for the wasm-bindgen-cli package, an internal dependency
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.9"
|
base64 = "0.9"
|
||||||
failure = "0.1"
|
failure = "0.1"
|
||||||
parity-wasm = "0.30"
|
parity-wasm = "0.31"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
@ -320,11 +320,11 @@ impl Output {
|
|||||||
if offset.len() != 2 {
|
if offset.len() != 2 {
|
||||||
bail!("don't recognize data offset {:?}", offset)
|
bail!("don't recognize data offset {:?}", offset)
|
||||||
}
|
}
|
||||||
if offset[1] != Opcode::End {
|
if offset[1] != Instruction::End {
|
||||||
bail!("don't recognize data offset {:?}", offset)
|
bail!("don't recognize data offset {:?}", offset)
|
||||||
}
|
}
|
||||||
let offset = match offset[0] {
|
let offset = match offset[0] {
|
||||||
Opcode::I32Const(x) => x,
|
Instruction::I32Const(x) => x,
|
||||||
_ => bail!("don't recognize data offset {:?}", offset),
|
_ => bail!("don't recognize data offset {:?}", offset),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user