pub struct W2C2Backend { /* private fields */ }Expand description
W2C2 backend — two-stage pipeline: w2c2 (WASM→C) + arm-none-eabi-gcc (C→ELF)
Verification tier: binary-level translation validation (ASIL B).
Implementations§
Trait Implementations§
Source§impl Backend for W2C2Backend
impl Backend for W2C2Backend
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 W2C2Backend
impl RefUnwindSafe for W2C2Backend
impl Send for W2C2Backend
impl Sync for W2C2Backend
impl Unpin for W2C2Backend
impl UnsafeUnpin for W2C2Backend
impl UnwindSafe for W2C2Backend
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