Enum wasmtime_environ::isa::CallConv [−][src]
pub enum CallConv { Fast, Cold, SystemV, WindowsFastcall, AppleAarch64, BaldrdashSystemV, BaldrdashWindows, Baldrdash2020, Probestack, WasmtimeSystemV, WasmtimeFastcall, WasmtimeAppleAarch64, }
Expand description
Calling convention identifiers.
Variants
Best performance, not ABI-stable.
Smallest caller code size, not ABI-stable.
System V-style convention used on many platforms.
Windows “fastcall” convention, also used for x64 and ARM.
Mac aarch64 calling convention, which is a tweaked aarch64 ABI.
SpiderMonkey WebAssembly convention on systems using natively SystemV.
SpiderMonkey WebAssembly convention on Windows.
SpiderMonkey WebAssembly convention for “ABI-2020”, with extra TLS register slots in the frame.
Specialized convention for the probestack function.
Wasmtime equivalent of SystemV, not ABI-stable.
Currently only differs in how multiple return values are handled, returning the first return value in a register and everything else through a return-pointer.
Wasmtime equivalent of WindowsFastcall, not ABI-stable.
Differs from fastcall in the same way as WasmtimeSystemV
.
Wasmtime equivalent of AppleAarch64, not ABI-stable.
Differs from apple-aarch64 in the same way as WasmtimeSystemV
.
Implementations
Return the default calling convention for the given target triple.
Returns the calling convention used for libcalls according to the current flags.
Is the calling convention extending the Windows Fastcall ABI?
Is the calling convention extending the Apple aarch64 ABI?
Is the calling convention extending the Baldrdash ABI?
Is the calling convention extending the Wasmtime ABI?
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CallConv, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CallConv, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CallConv
impl UnwindSafe for CallConv
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.