mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-04-25 07:12:15 +00:00
Parse reloc sections in roundtrip example.
This commit is contained in:
parent
b1bd5dacc2
commit
0ab2aa15b2
@ -12,6 +12,7 @@ fn main() {
|
|||||||
let module = match parity_wasm::deserialize_file(&args[1])
|
let module = match parity_wasm::deserialize_file(&args[1])
|
||||||
.expect("Failed to load module")
|
.expect("Failed to load module")
|
||||||
.parse_names()
|
.parse_names()
|
||||||
|
.and_then(|module| module.parse_reloc())
|
||||||
{
|
{
|
||||||
Ok(m) => m,
|
Ok(m) => m,
|
||||||
Err((errors, m)) => {
|
Err((errors, m)) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user