mirror of
https://github.com/mii443/wasmer.git
synced 2025-08-23 00:45:32 +00:00
Move target back into wasmer_types
This commit is contained in:
@ -35,13 +35,13 @@ use wasmer_compiler::{
|
||||
module::CompileModuleInfo,
|
||||
relocation::{Relocation, RelocationTarget},
|
||||
section::SectionIndex,
|
||||
target::{CallingConvention, Target},
|
||||
unwind::CompiledFunctionUnwindInfo,
|
||||
},
|
||||
Compiler, FunctionBinaryReader, FunctionBodyData, MiddlewareBinaryReader, ModuleMiddleware,
|
||||
ModuleMiddlewareChain, ModuleTranslationState,
|
||||
};
|
||||
use wasmer_types::entity::{EntityRef, PrimaryMap};
|
||||
use wasmer_types::target::{CallingConvention, Target};
|
||||
use wasmer_types::{
|
||||
CompileError, FunctionIndex, LocalFunctionIndex, ModuleInfo, SignatureIndex, TrapCode,
|
||||
TrapInformation,
|
||||
|
@ -5,10 +5,8 @@ use cranelift_codegen::{
|
||||
CodegenResult,
|
||||
};
|
||||
use std::sync::Arc;
|
||||
use wasmer_compiler::{
|
||||
types::target::{Architecture, CpuFeature, Target},
|
||||
Compiler, CompilerConfig, Engine, EngineBuilder, ModuleMiddleware,
|
||||
};
|
||||
use wasmer_compiler::{Compiler, CompilerConfig, Engine, EngineBuilder, ModuleMiddleware};
|
||||
use wasmer_types::target::{Architecture, CpuFeature, Target};
|
||||
|
||||
// Runtime Environment
|
||||
|
||||
|
@ -3,9 +3,8 @@ use gimli::{RunTimeEndian, SectionId};
|
||||
use wasmer_compiler::types::{
|
||||
relocation::{Relocation, RelocationKind, RelocationTarget},
|
||||
section::{CustomSection, CustomSectionProtection, SectionBody},
|
||||
target::Endianness,
|
||||
};
|
||||
use wasmer_types::{entity::EntityRef, LocalFunctionIndex};
|
||||
use wasmer_types::{entity::EntityRef, target::Endianness, LocalFunctionIndex};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct WriterRelocate {
|
||||
|
Reference in New Issue
Block a user