Move cranelift dependencies to wasmtime-environ (#669)

Groups all CL data structures into single dependency to be used accross wasmtime project.
This commit is contained in:
Yury Delendik
2019-12-05 16:07:34 -06:00
committed by GitHub
parent 8a1b7965d8
commit cc6e8e1af2
65 changed files with 223 additions and 233 deletions

View File

@@ -12,12 +12,12 @@ edition = "2018"
[dependencies]
anyhow = "1.0.19"
cranelift-codegen = { version = "0.50.0", default-features = false }
walrus = "0.13"
wasmparser = { version = "0.44.0", default-features = false }
wasm-webidl-bindings = "0.6"
wasmtime = { path = '../api' }
wasmtime-jit = { path = '../jit' }
wasmtime-environ = { path = '../environ' }
wasmtime-runtime = { path = '../runtime' }
wasmtime-wasi = { path = '../wasi' }

View File

@@ -8,10 +8,10 @@
#![deny(missing_docs)]
use anyhow::{bail, format_err, Result};
use cranelift_codegen::ir;
use std::convert::TryFrom;
use std::str;
use wasm_webidl_bindings::ast;
use wasmtime_environ::ir;
use wasmtime_jit::RuntimeValue;
use wasmtime_runtime::{Export, InstanceHandle};