Fix a few warnings.
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
extern crate cretonne;
|
extern crate cretonne;
|
||||||
extern crate cton_reader;
|
extern crate cton_reader;
|
||||||
extern crate cretonne_wasm;
|
extern crate cretonne_wasm;
|
||||||
extern crate wasmparser;
|
|
||||||
extern crate docopt;
|
extern crate docopt;
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ fn handle_module(flag_verbose: bool,
|
|||||||
};
|
};
|
||||||
let mut dummy_runtime = DummyRuntime::new();
|
let mut dummy_runtime = DummyRuntime::new();
|
||||||
let translation = {
|
let translation = {
|
||||||
let mut runtime: &mut WasmRuntime = &mut dummy_runtime;
|
let runtime: &mut WasmRuntime = &mut dummy_runtime;
|
||||||
match translate_module(&data, runtime) {
|
match translate_module(&data, runtime) {
|
||||||
Ok(x) => x,
|
Ok(x) => x,
|
||||||
Err(string) => {
|
Err(string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user