Closed
Description
./zig test ../std/std.zig -target aarch64v8_5a-linux-none --test-cmd qemu-aarch64 --test-cmd-bin --override-std-dir ../std
208/1221 rb.test "std-aarch64-linux-none-Debug-bare-multirb"...invalid enum value
/home/andy/dev/zig/std/rb.zig:106:16: 0x460343 in rb.Node.getColor (test)
return @intToEnum(Color, @intCast(u1, node.parent_and_color & 1));
^
/home/andy/dev/zig/std/rb.zig:84:29: 0x45ff77 in rb.Node.isBlack (test)
return node.getColor() == Black;
^
/home/andy/dev/zig/std/rb.zig:183:33: 0x3d84c7 in rb.Tree.insert (test)
if (parent.*.isBlack())
^
/home/andy/dev/zig/std/rb.zig:533:20: 0x33bc6f in rb.test "std-aarch64-linux-none-Debug-bare-multirb" (test)
_ = tree.insert(&ns[3].node);
^
/home/andy/dev/zig/std/special/test_runner.zig:13:25: 0x7f423b in std.special.main (test)
if (test_fn.func()) |_| {
^
/home/andy/dev/zig/std/special/start.zig:189:37: 0x7f3907 in std.special.posixCallMainAndExit (test)
const result = root.main() catch |err| {
^
/home/andy/dev/zig/std/special/start.zig:87:5: 0x7f379f in std.special._start (test)
@noInlineCall(posixCallMainAndExit);
^