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:
Andrew Kelley 2020-04-07 15:06:58 -04:00
parent b7f116a774
commit 4d290758bb
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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);
}