aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlithdew <kenta@lithdew.net>2021-04-30 21:10:36 +0900
committerlithdew <kenta@lithdew.net>2021-05-03 14:49:10 +0900
commit76304a36afb6d2cc77902a0e60906382b53d7baa (patch)
tree4c34a7086d5eefcff699f4e7d618da43e54672f1 /lib
parent13068da43e8fbd0ae5d03aff27fb4e8802e1218c (diff)
downloadzig-76304a36afb6d2cc77902a0e60906382b53d7baa.tar.gz
zig-76304a36afb6d2cc77902a0e60906382b53d7baa.zip
std/builtin: add missing comma to CallingConvention
Diffstat (limited to 'lib')
-rw-r--r--lib/std/builtin.zig18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig
index c5fa77bb7c..53c27f0bf5 100644
--- 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.