std.builtin: Define VaList for arm, armeb, and thumbeb too.

This commit is contained in:
Alex Rønne Petersen 2024-08-21 16:08:56 +02:00
parent 34c6482403
commit 832f74876e
No known key found for this signature in database

View File

@ -603,7 +603,7 @@ pub const VaList = switch (builtin.cpu.arch) {
.ios, .macos, .tvos, .watchos, .visionos => *u8,
else => @compileError("disabled due to miscompilations"), // VaListAarch64,
},
.arm => switch (builtin.os.tag) {
.arm, .armeb, .thumb, .thumbeb => switch (builtin.os.tag) {
.ios, .macos, .tvos, .watchos, .visionos => *u8,
else => *anyopaque,
},