mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
std.builtin: define VaList for arc, csky, lanai, m68k, msp430, nvptx, ve, xcore
This commit is contained in:
parent
44c80fc6dc
commit
033d251626
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user