Commit 033d251626

Alex Rønne Petersen <alex@alexrp.com>
2025-09-26 16:10:15
std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcore
1 parent 44c80fc
Changed files (1)
lib
lib/std/builtin.zig
@@ -898,15 +898,22 @@ pub const VaListXtensa = extern struct {
 /// therefore must be kept in sync with the compiler implementation.
 pub const VaList = switch (builtin.cpu.arch) {
     .amdgcn,
+    .msp430,
+    .nvptx,
+    .nvptx64,
     .powerpc64,
     .powerpc64le,
     .x86,
     => *u8,
+    .arc,
     .avr,
     .bpfel,
     .bpfeb,
+    .csky,
+    .lanai,
     .loongarch32,
     .loongarch64,
+    .m68k,
     .mips,
     .mipsel,
     .mips64,
@@ -919,8 +926,10 @@ pub const VaList = switch (builtin.cpu.arch) {
     .sparc64,
     .spirv32,
     .spirv64,
+    .ve,
     .wasm32,
     .wasm64,
+    .xcore,
     => *anyopaque,
     .aarch64, .aarch64_be => switch (builtin.os.tag) {
         .driverkit, .ios, .macos, .tvos, .visionos, .watchos, .windows => *u8,