Update dependencies.
This commit is contained in:
@@ -11,8 +11,8 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
smallvec = "0.6"
|
smallvec = "0.6"
|
||||||
dynasm = "0.3"
|
dynasm = "0.5.1"
|
||||||
dynasmrt = "0.3"
|
dynasmrt = "0.5.1"
|
||||||
wasmparser = "0.39.1"
|
wasmparser = "0.39.1"
|
||||||
memoffset = "0.5.1"
|
memoffset = "0.5.1"
|
||||||
itertools = "0.8"
|
itertools = "0.8"
|
||||||
@@ -22,11 +22,11 @@ failure_derive = "0.1.3"
|
|||||||
cranelift-codegen = "0.44"
|
cranelift-codegen = "0.44"
|
||||||
multi_mut = "0.1"
|
multi_mut = "0.1"
|
||||||
either = "1.5"
|
either = "1.5"
|
||||||
wabt = "0.9.2"
|
|
||||||
lazy_static = "1.2"
|
|
||||||
typemap = "0.3"
|
typemap = "0.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
lazy_static = "1.2"
|
||||||
|
wabt = "0.9.2"
|
||||||
quickcheck = "0.9.0"
|
quickcheck = "0.9.0"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ pub fn disassemble(
|
|||||||
mem: &[u8],
|
mem: &[u8],
|
||||||
mut ops: &[(AssemblyOffset, impl Display)],
|
mut ops: &[(AssemblyOffset, impl Display)],
|
||||||
) -> Result<(), Box<dyn Error>> {
|
) -> Result<(), Box<dyn Error>> {
|
||||||
let mut cs = Capstone::new()
|
let cs = Capstone::new()
|
||||||
.x86()
|
.x86()
|
||||||
.mode(arch::x86::ArchMode::Mode64)
|
.mode(arch::x86::ArchMode::Mode64)
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ extern crate lazy_static;
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate quickcheck;
|
extern crate quickcheck;
|
||||||
|
#[cfg(test)]
|
||||||
extern crate wabt;
|
extern crate wabt;
|
||||||
// Just so we can implement `Signature` for `cranelift_codegen::ir::Signature`
|
// Just so we can implement `Signature` for `cranelift_codegen::ir::Signature`
|
||||||
extern crate cranelift_codegen;
|
extern crate cranelift_codegen;
|
||||||
|
|||||||
Reference in New Issue
Block a user