authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-26 16:10:15+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-26 16:20:24+02:00
log033d251626822ccc5aae40ad8a02ad885bdcd2e9
treeb21a7fc252a361556c7491695d969e325c637955
parent44c80fc6dcf91a3fb1bfaeb12b27087b2fcd9283
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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


1 files changed, 9 insertions(+), 0 deletions(-)

lib/std/builtin.zig+9
......@@ -898,15 +898,22 @@ pub const VaListXtensa = extern struct {
898898/// therefore must be kept in sync with the compiler implementation.
899899pub const VaList = switch (builtin.cpu.arch) {
900900 .amdgcn,
901 .msp430,
902 .nvptx,
903 .nvptx64,
901904 .powerpc64,
902905 .powerpc64le,
903906 .x86,
904907 => *u8,
908 .arc,
905909 .avr,
906910 .bpfel,
907911 .bpfeb,
912 .csky,
913 .lanai,
908914 .loongarch32,
909915 .loongarch64,
916 .m68k,
910917 .mips,
911918 .mipsel,
912919 .mips64,
......@@ -919,8 +926,10 @@ pub const VaList = switch (builtin.cpu.arch) {
919926 .sparc64,
920927 .spirv32,
921928 .spirv64,
929 .ve,
922930 .wasm32,
923931 .wasm64,
932 .xcore,
924933 => *anyopaque,
925934 .aarch64, .aarch64_be => switch (builtin.os.tag) {
926935 .driverkit, .ios, .macos, .tvos, .visionos, .watchos, .windows => *u8,