Browse Source

Update dependencies.

pull/397/head
Dan Gohman 5 years ago
parent
commit
c43803b19c
  1. 8
      lightbeam/Cargo.toml
  2. 2
      lightbeam/src/disassemble.rs
  3. 1
      lightbeam/src/lib.rs

8
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]

2
lightbeam/src/disassemble.rs

@ -7,7 +7,7 @@ pub fn disassemble(
mem: &[u8],
mut ops: &[(AssemblyOffset, impl Display)],
) -> Result<(), Box<dyn Error>> {
let mut cs = Capstone::new()
let cs = Capstone::new()
.x86()
.mode(arch::x86::ArchMode::Mode64)
.build()?;

1
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;

Loading…
Cancel
Save