mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
fix compile errors in some std.Target functions
The `ve` architecture needed to be added to a couple switch statements.
This commit is contained in:
parent
b7f116a774
commit
4d290758bb
@ -698,6 +698,7 @@ pub const Target = struct {
|
||||
.bpfeb => ._BPF,
|
||||
.sparcv9 => ._SPARCV9,
|
||||
.s390x => ._S390,
|
||||
.ve => ._NONE,
|
||||
};
|
||||
}
|
||||
|
||||
@ -739,6 +740,7 @@ pub const Target = struct {
|
||||
.renderscript32,
|
||||
.renderscript64,
|
||||
.shave,
|
||||
.ve,
|
||||
=> .Little,
|
||||
|
||||
.arc,
|
||||
@ -1317,3 +1319,7 @@ pub const Target = struct {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
test "" {
|
||||
std.meta.refAllDecls(Target.Cpu.Arch);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user