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 {...@@ -898,15 +898,22 @@ pub const VaListXtensa = extern struct {
898/// therefore must be kept in sync with the compiler implementation.898/// therefore must be kept in sync with the compiler implementation.
899pub const VaList = switch (builtin.cpu.arch) {899pub const VaList = switch (builtin.cpu.arch) {
900 .amdgcn,900 .amdgcn,
901 .msp430,
902 .nvptx,
903 .nvptx64,
901 .powerpc64,904 .powerpc64,
902 .powerpc64le,905 .powerpc64le,
903 .x86,906 .x86,
904 => *u8,907 => *u8,
908 .arc,
905 .avr,909 .avr,
906 .bpfel,910 .bpfel,
907 .bpfeb,911 .bpfeb,
912 .csky,
913 .lanai,
908 .loongarch32,914 .loongarch32,
909 .loongarch64,915 .loongarch64,
916 .m68k,
910 .mips,917 .mips,
911 .mipsel,918 .mipsel,
912 .mips64,919 .mips64,
...@@ -919,8 +926,10 @@ pub const VaList = switch (builtin.cpu.arch) {...@@ -919,8 +926,10 @@ pub const VaList = switch (builtin.cpu.arch) {
919 .sparc64,926 .sparc64,
920 .spirv32,927 .spirv32,
921 .spirv64,928 .spirv64,
929 .ve,
922 .wasm32,930 .wasm32,
923 .wasm64,931 .wasm64,
932 .xcore,
924 => *anyopaque,933 => *anyopaque,
925 .aarch64, .aarch64_be => switch (builtin.os.tag) {934 .aarch64, .aarch64_be => switch (builtin.os.tag) {
926 .driverkit, .ios, .macos, .tvos, .visionos, .watchos, .windows => *u8,935 .driverkit, .ios, .macos, .tvos, .visionos, .watchos, .windows => *u8,