Function archs [src]
Returns the array of std.Target.Cpu.Arch to which this CallingConvention applies.
Asserts that cc is not .auto, .@"async", .naked, or .@"inline".
Prototype
pub fn archs(cc: CallingConvention) []const std.Target.Cpu.Arch
Parameters
cc: CallingConvention
Source
pub fn archs(cc: CallingConvention) []const std.Target.Cpu.Arch {
return std.Target.Cpu.Arch.fromCallingConvention(cc);
}