Move target back into wasmer_types

This commit is contained in:
Syrus Akbary
2025-03-06 11:09:51 +01:00
parent bd13db0c48
commit 78eca7958d
41 changed files with 82 additions and 94 deletions

View File

@ -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,

View File

@ -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

View File

@ -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 {