pub struct ArmBackend;Expand description
ARM Cortex-M backend using Synth’s custom compiler pipeline
Implementations§
Source§impl ArmBackend
impl ArmBackend
Trait Implementations§
Source§impl Backend for ArmBackend
impl Backend for ArmBackend
Source§fn capabilities(&self) -> BackendCapabilities
fn capabilities(&self) -> BackendCapabilities
What this backend can do
Source§fn supported_targets(&self) -> Vec<TargetSpec>
fn supported_targets(&self) -> Vec<TargetSpec>
Which targets this backend supports
Source§fn compile_module(
&self,
module: &DecodedModule,
config: &CompileConfig,
) -> Result<CompilationResult, BackendError>
fn compile_module( &self, module: &DecodedModule, config: &CompileConfig, ) -> Result<CompilationResult, BackendError>
Compile an entire decoded WASM module
Source§fn compile_function(
&self,
name: &str,
ops: &[WasmOp],
config: &CompileConfig,
) -> Result<CompiledFunction, BackendError>
fn compile_function( &self, name: &str, ops: &[WasmOp], config: &CompileConfig, ) -> Result<CompiledFunction, BackendError>
Compile a single function from WASM ops to machine code
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Check if this backend is available (external tools installed, etc.)
Auto Trait Implementations§
impl Freeze for ArmBackend
impl RefUnwindSafe for ArmBackend
impl Send for ArmBackend
impl Sync for ArmBackend
impl Unpin for ArmBackend
impl UnsafeUnpin for ArmBackend
impl UnwindSafe for ArmBackend
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