Skip to content

Instantly share code, notes, and snippets.

@Poetastrophe

Poetastrophe/txt Secret

Created July 28, 2019 11:35
Show Gist options
  • Save Poetastrophe/48212dc2dfe1a3f326484972f97021e0 to your computer and use it in GitHub Desktop.
Save Poetastrophe/48212dc2dfe1a3f326484972f97021e0 to your computer and use it in GitHub Desktop.
zig err in rb.zig
1/1 test "rb"...cast causes pointer to be null
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/rb.zig:96:16: 0x206a84 in Node.getParent (test)
return @intToPtr(*Node, node.parent_and_color & ~mask);
^
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/rb.zig:181:30: 0x204f97 in Tree.insert (test)
while (node.getParent()) |*parent| {
^
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/rb.zig:527:20: 0x2047fc in test "rb" (test)
_ = tree.insert(&ns[1].node);
^
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/special/test_runner.zig:13:25: 0x2275fd in std.special.main (test)
if (test_fn.func()) |_| {
^
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/special/start.zig:139:37: 0x226466 in std.special.posixCallMainAndExit (test)
const result = root.main() catch |err| {
^
/home/chris/Documents/Projects/ziglib/result/lib/zig/std/special/start.zig:56:5: 0x2262ef in std.special._start (test)
@noInlineCall(posixCallMainAndExit);
^
Tests failed. Use the following command to reproduce the failure:
/home/chris/Documents/Projects/ziglib/zig-cache/o/haTdgtOgTKSUKIODF6bqw8sBD_FnayU4Lz3yyQXWVH0N75QUo_CFL6tJYeTvjmJ5/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment