pub struct X86Backend {}Expand description
Native x86_64 Backend implementation
Trait Implementations§
Source§impl Backend for X86Backend
impl Backend for X86Backend
Source§fn primary_target(&self) -> CompilationTarget
fn primary_target(&self) -> CompilationTarget
获取此后端支持的主要编译目标
Source§fn match_score(&self, target: &CompilationTarget) -> f32
fn match_score(&self, target: &CompilationTarget) -> f32
计算与给定编译目标的匹配度 (0-100)
0 表示不支持
Source§fn generate(
&self,
program: &GaiaModule,
_config: &GaiaConfig,
) -> Result<GeneratedFiles, GaiaError>
fn generate( &self, program: &GaiaModule, _config: &GaiaConfig, ) -> Result<GeneratedFiles, GaiaError>
Compile Gaia program to target platform
Source§impl Default for X86Backend
impl Default for X86Backend
Source§fn default() -> X86Backend
fn default() -> X86Backend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for X86Backend
impl RefUnwindSafe for X86Backend
impl Send for X86Backend
impl Sync for X86Backend
impl Unpin for X86Backend
impl UnwindSafe for X86Backend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more