Tidy up unused import warnings.

This commit is contained in:
Dan Gohman
2019-04-05 14:07:28 -07:00
parent 30dcf4aed6
commit b509ca0aa5
2 changed files with 4 additions and 3 deletions

View File

@@ -14,9 +14,11 @@ use cranelift_codegen::ir::{
use cranelift_codegen::isa::TargetFrontendConfig;
use cranelift_entity::EntityRef;
use cranelift_wasm::{
self, DefinedFuncIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex, FuncIndex,
GlobalIndex, GlobalVariable, MemoryIndex, SignatureIndex, TableIndex, WasmResult,
self, FuncIndex, GlobalIndex, GlobalVariable, MemoryIndex, SignatureIndex, TableIndex,
WasmResult,
};
#[cfg(feature = "lightbeam")]
use cranelift_wasm::{DefinedFuncIndex, DefinedGlobalIndex, DefinedMemoryIndex, DefinedTableIndex};
use std::vec::Vec;
/// Compute an `ir::ExternalName` for a given wasm function index.

View File

@@ -15,7 +15,6 @@ use std::boxed::Box;
use std::string::String;
use std::vec::Vec;
use wasmtime_debug::{emit_debugsections_image, DebugInfoData};
use wasmtime_environ::cranelift;
use wasmtime_environ::{
Compilation, CompileError, Compiler as _C, FunctionBodyData, Module, Relocations, Tunables,
};