authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-07 15:06:58-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-04-07 15:06:58-04:00
log4d290758bb3145f65840ad0ac244fc4388bde9e0
tree18d1c2db9c7cc86e458460d73c62e7d5d39bc066
parentb7f116a774ce64b39ddf9798e135aee76d03f44e
signaturelock-open Commit is signed but in an unrecognized format.

fix compile errors in some std.Target functions

The `ve` architecture needed to be added to a couple switch statements.

1 files changed, 6 insertions(+), 0 deletions(-)

lib/std/target.zig+6
...@@ -698,6 +698,7 @@ pub const Target = struct {...@@ -698,6 +698,7 @@ pub const Target = struct {
698 .bpfeb => ._BPF,698 .bpfeb => ._BPF,
699 .sparcv9 => ._SPARCV9,699 .sparcv9 => ._SPARCV9,
700 .s390x => ._S390,700 .s390x => ._S390,
701 .ve => ._NONE,
701 };702 };
702 }703 }
703704
...@@ -739,6 +740,7 @@ pub const Target = struct {...@@ -739,6 +740,7 @@ pub const Target = struct {
739 .renderscript32,740 .renderscript32,
740 .renderscript64,741 .renderscript64,
741 .shave,742 .shave,
743 .ve,
742 => .Little,744 => .Little,
743745
744 .arc,746 .arc,
...@@ -1317,3 +1319,7 @@ pub const Target = struct {...@@ -1317,3 +1319,7 @@ pub const Target = struct {
1317 }1319 }
1318 }1320 }
1319};1321};
1322
1323test "" {
1324 std.meta.refAllDecls(Target.Cpu.Arch);
1325}