From c43803b19c5d5e96127231520c3d1db36f09cab4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 2 Oct 2019 12:32:31 -0700 Subject: [PATCH] Update dependencies. --- lightbeam/Cargo.toml | 8 ++++---- lightbeam/src/disassemble.rs | 2 +- lightbeam/src/lib.rs | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lightbeam/Cargo.toml b/lightbeam/Cargo.toml index e92ab9fe0f..1113ee61d7 100644 --- a/lightbeam/Cargo.toml +++ b/lightbeam/Cargo.toml @@ -11,8 +11,8 @@ edition = "2018" [dependencies] smallvec = "0.6" -dynasm = "0.3" -dynasmrt = "0.3" +dynasm = "0.5.1" +dynasmrt = "0.5.1" wasmparser = "0.39.1" memoffset = "0.5.1" itertools = "0.8" @@ -22,11 +22,11 @@ failure_derive = "0.1.3" cranelift-codegen = "0.44" multi_mut = "0.1" either = "1.5" -wabt = "0.9.2" -lazy_static = "1.2" typemap = "0.3" [dev-dependencies] +lazy_static = "1.2" +wabt = "0.9.2" quickcheck = "0.9.0" [badges] diff --git a/lightbeam/src/disassemble.rs b/lightbeam/src/disassemble.rs index 9c3622f49c..10366b0040 100644 --- a/lightbeam/src/disassemble.rs +++ b/lightbeam/src/disassemble.rs @@ -7,7 +7,7 @@ pub fn disassemble( mem: &[u8], mut ops: &[(AssemblyOffset, impl Display)], ) -> Result<(), Box> { - let mut cs = Capstone::new() + let cs = Capstone::new() .x86() .mode(arch::x86::ArchMode::Mode64) .build()?; diff --git a/lightbeam/src/lib.rs b/lightbeam/src/lib.rs index d76b0d786a..80bcd9ac03 100644 --- a/lightbeam/src/lib.rs +++ b/lightbeam/src/lib.rs @@ -20,6 +20,7 @@ extern crate lazy_static; #[cfg(test)] #[macro_use] extern crate quickcheck; +#[cfg(test)] extern crate wabt; // Just so we can implement `Signature` for `cranelift_codegen::ir::Signature` extern crate cranelift_codegen;