Wire up experimental_native_compile_module for LLVM.

Move Symbol and SymbolRegistry to wasmer_compiler crate.
This commit is contained in:
Nick Lewycky
2020-08-05 17:44:52 -07:00
parent 0e6bc3191f
commit 2c2da8ec3c
8 changed files with 78 additions and 47 deletions

View File

@ -32,9 +32,8 @@ use wasm_common::{
use wasmer_compiler::wasmparser::{MemoryImmediate, Operator};
use wasmer_compiler::{
to_wasm_error, wptype_to_type, CompileError, FunctionBodyData, GenerateMiddlewareChain,
MiddlewareBinaryReader, ModuleTranslationState, RelocationTarget,
MiddlewareBinaryReader, ModuleTranslationState, RelocationTarget, Symbol, SymbolRegistry,
};
use wasmer_object::{Symbol, SymbolRegistry};
use wasmer_vm::{MemoryStyle, ModuleInfo, TableStyle};
fn to_compile_error(err: impl std::error::Error) -> CompileError {