Enum winch_codegen::isa::CallingConvention
source · pub enum CallingConvention {
WasmtimeSystemV,
WindowsFastcall,
AppleAarch64,
Default,
}
Expand description
Calling conventions supported by Winch. Winch supports the Wasmtime*
variations of the system’s ABI calling conventions and an internal default
calling convention.
This enum is a reduced subset of the calling conventions defined in cranelift_codegen::isa::CallConv. Introducing this enum makes it easier to enforce the invariant of all the calling conventions supported by Winch.
Variants§
WasmtimeSystemV
WindowsFastcall
AppleAarch64
Default
The default calling convention for Winch. It largely follows SystemV for parameter and result handling. This calling convention is part of Winch’s default ABI [crate::abi::ABI].
Auto Trait Implementations§
impl RefUnwindSafe for CallingConvention
impl Send for CallingConvention
impl Sync for CallingConvention
impl Unpin for CallingConvention
impl UnwindSafe for CallingConvention
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