diff --git a/lib/std/thread.zig b/lib/std/thread.zig index 6d9b4bebe..d07c41c5b 100644 --- a/lib/std/thread.zig +++ b/lib/std/thread.zig @@ -280,7 +280,7 @@ pub const Thread = struct { std.debug.dumpStackTrace(trace.*); } }; - return 0; + return null; }, else => @compileError(bad_startfn_ret), }