authorgravatar for isnt@haze.coolHaze Booth <isnt@haze.cool> 2020-05-05 04:14:11-04:00
committergravatar for isnt@haze.coolHaze Booth <isnt@haze.cool> 2020-05-05 04:15:43-04:00
log4cb4097b084d9f9df31d7cf36b5876ad51790828
tree80b955caa15a857d061732f428298b3797774eb9
parentf127dee47424f4c87a4ed5026a2d5be5cce7a135
signature Commit is signed but in an unrecognized format.

Update ErrorUnion thread spawn result to return null instead of 0


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

lib/std/thread.zig+1-1
...@@ -280,7 +280,7 @@ pub const Thread = struct {...@@ -280,7 +280,7 @@ pub const Thread = struct {
280 std.debug.dumpStackTrace(trace.*);280 std.debug.dumpStackTrace(trace.*);
281 }281 }
282 };282 };
283 return 0;283 return null;
284 },284 },
285 else => @compileError(bad_startfn_ret),285 else => @compileError(bad_startfn_ret),
286 }286 }