std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcore

This commit is contained in:
Alex Rønne Petersen 2025-09-26 16:10:15 +02:00
parent 44c80fc6dc
commit 033d251626
No known key found for this signature in database

View File

@ -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,