feat: Move "compilation" types from wasmer_types to wasmer_compiler

This commit is contained in:
Edoardo Marangoni
2024-11-06 16:42:06 +01:00
parent af6f650b66
commit cf2d30940b
77 changed files with 768 additions and 761 deletions

View File

@ -21,15 +21,19 @@ use gimli::write::{EhFrame, FrameTable};
use rayon::prelude::{IntoParallelIterator, ParallelIterator};
use std::sync::Arc;
use wasmer_compiler::{
types::{
function::{Compilation, CompiledFunction, Dwarf, FunctionBody},
module::CompileModuleInfo,
section::SectionIndex,
target::{Architecture, CallingConvention, CpuFeature, OperatingSystem, Target},
},
Compiler, CompilerConfig, FunctionBinaryReader, FunctionBodyData, MiddlewareBinaryReader,
ModuleMiddleware, ModuleMiddlewareChain, ModuleTranslationState,
};
use wasmer_types::entity::{EntityRef, PrimaryMap};
use wasmer_types::{
Architecture, CallingConvention, Compilation, CompileError, CompileModuleInfo,
CompiledFunction, CpuFeature, Dwarf, FunctionBody, FunctionIndex, FunctionType,
LocalFunctionIndex, MemoryIndex, ModuleInfo, OperatingSystem, SectionIndex, TableIndex, Target,
TrapCode, TrapInformation, VMOffsets,
CompileError, FunctionIndex, FunctionType, LocalFunctionIndex, MemoryIndex, ModuleInfo,
TableIndex, TrapCode, TrapInformation, VMOffsets,
};
/// A compiler that compiles a WebAssembly module with Singlepass.