Enum target_lexicon::CallingConvention [−][src]
pub enum CallingConvention { SystemV, WasmBasicCAbi, WindowsFastcall, }
The calling convention, which specifies things like which registers are used for passing arguments, which registers are callee-saved, and so on.
Variants
“System V”, which is used on most Unix-like platfoms. Note that the specific conventions vary between hardware architectures; for example, x86-32’s “System V” is entirely different from x86-64’s “System V”.
The WebAssembly C ABI. https://github.com/WebAssembly/tool-conventions/blob/master/BasicCABI.md
“Windows Fastcall”, which is used on Windows. Note that like “System V”, this varies between hardware architectures. On x86-32 it describes what Windows documentation calls “fastcall”, and on x86-64 it describes what Windows documentation often just calls the Windows x64 calling convention (though the compiler still recognizes “fastcall” as an alias for it).
Trait Implementations
impl Clone for CallingConvention
[src]
impl Clone for CallingConvention
[src]fn clone(&self) -> CallingConvention
[src][−]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
impl Hash for CallingConvention
[src]
impl Hash for CallingConvention
[src]impl PartialEq<CallingConvention> for CallingConvention
[src]
impl PartialEq<CallingConvention> for CallingConvention
[src]