mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.builtin: add CallingConvention.x86_64_x32
This was forgotten during the refactoring of std.builtin.CallingConvention. It mirrors mips64_n32 for MIPS.
This commit is contained in:
@@ -12,6 +12,6 @@ comptime {
|
||||
// target=x86_64-linux
|
||||
//
|
||||
// :1:8: error: variadic function does not support 'auto' calling convention
|
||||
// :1:8: note: supported calling conventions: 'x86_64_sysv', 'x86_64_win'
|
||||
// :1:8: note: supported calling conventions: 'x86_64_sysv', 'x86_64_x32', 'x86_64_win'
|
||||
// :2:16: error: variadic function does not support 'inline' calling convention
|
||||
// :2:16: note: supported calling conventions: 'x86_64_sysv', 'x86_64_win'
|
||||
// :2:16: note: supported calling conventions: 'x86_64_sysv', 'x86_64_x32', 'x86_64_win'
|
||||
|
||||
+1
-1
@@ -15,4 +15,4 @@ comptime {
|
||||
// target=x86_64-linux
|
||||
//
|
||||
// :1:13: error: variadic function does not support 'auto' calling convention
|
||||
// :1:13: note: supported calling conventions: 'x86_64_sysv', 'x86_64_win'
|
||||
// :1:13: note: supported calling conventions: 'x86_64_sysv', 'x86_64_x32', 'x86_64_win'
|
||||
|
||||
Reference in New Issue
Block a user