commit 76304a36afb6d2cc77902a0e60906382b53d7baa (tree)
parent 13068da43e8fbd0ae5d03aff27fb4e8802e1218c
Author: lithdew <kenta@lithdew.net>
Date: Fri, 30 Apr 2021 21:10:36 +0900
std/builtin: add missing comma to CallingConvention
Diffstat:
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
@@ -150,7 +150,23 @@ pub const Mode = enum {
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
-pub const CallingConvention = enum { Unspecified, C, Naked, Async, Inline, Interrupt, Signal, Stdcall, Fastcall, Vectorcall, Thiscall, APCS, AAPCS, AAPCSVFP, SysV };
+pub const CallingConvention = enum {
+ Unspecified,
+ C,
+ Naked,
+ Async,
+ Inline,
+ Interrupt,
+ Signal,
+ Stdcall,
+ Fastcall,
+ Vectorcall,
+ Thiscall,
+ APCS,
+ AAPCS,
+ AAPCSVFP,
+ SysV,
+};
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.