Update tests to use new API where easily possible

This commit is contained in:
Mark McCaskey
2020-04-09 11:47:00 -07:00
parent 3474c31355
commit a149c9aaeb
10 changed files with 87 additions and 64 deletions

View File

@ -17,8 +17,9 @@ pub fn get_compiler() -> impl Compiler {
LLVMCompiler::new()
}
use wasmer::imports;
use wasmer_llvm_backend::{InkwellModule, LLVMBackendConfig, LLVMCallbacks};
use wasmer_runtime::{imports, CompilerConfig};
use wasmer_runtime::CompilerConfig;
use wasmer_runtime_core::{backend::BackendCompilerConfig, compile_with, compile_with_config};
use std::cell::RefCell;