diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-09-26 16:10:15 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-09-26 16:20:24 +0200 |
| commit | 033d251626822ccc5aae40ad8a02ad885bdcd2e9 (patch) | |
| tree | b21a7fc252a361556c7491695d969e325c637955 /lib/std/builtin.zig | |
| parent | 44c80fc6dcf91a3fb1bfaeb12b27087b2fcd9283 (diff) | |
| download | zig-033d251626822ccc5aae40ad8a02ad885bdcd2e9.tar.gz zig-033d251626822ccc5aae40ad8a02ad885bdcd2e9.zip | |
std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcore
Diffstat (limited to 'lib/std/builtin.zig')
| -rw-r--r-- | lib/std/builtin.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/std/builtin.zig b/lib/std/builtin.zig index a001c52234..edd6c27ee7 100644 --- a/lib/std/builtin.zig +++ b/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, |
