Fix unused import warning, deny more warnings.

This commit is contained in:
Nick Lewycky
2019-12-21 14:35:43 -08:00
parent 7390372eb6
commit 1cffb90fea
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
#![deny(
dead_code,
nonstandard_style,
unused_imports,
unused_mut,
unused_variables,
unused_unsafe,
unreachable_patterns
)]
pub use wabt::wat2wasm; pub use wabt::wat2wasm;
use wasmer_llvm_backend::LLVMCompiler; use wasmer_llvm_backend::LLVMCompiler;
use wasmer_runtime_core::backend::Compiler; use wasmer_runtime_core::backend::Compiler;

View File

@ -1,4 +1,4 @@
use wasmer_llvm_backend::{InkwellMemoryBuffer, InkwellModule, LLVMBackendConfig, LLVMCallbacks}; use wasmer_llvm_backend::{InkwellModule, LLVMBackendConfig, LLVMCallbacks};
use wasmer_llvm_backend_tests::{get_compiler, wat2wasm}; use wasmer_llvm_backend_tests::{get_compiler, wat2wasm};
use wasmer_runtime::{imports, CompilerConfig}; use wasmer_runtime::{imports, CompilerConfig};
use wasmer_runtime_core::{backend::BackendCompilerConfig, compile_with, compile_with_config}; use wasmer_runtime_core::{backend::BackendCompilerConfig, compile_with, compile_with_config};