Merge pull request #5273 from haze/hb/fix-posix-errorunion-thread-spawn-result
Update ErrorUnion thread spawn result to return null instead of 0master
commit
fde6d28c23
|
@ -280,7 +280,7 @@ pub const Thread = struct {
|
||||||
std.debug.dumpStackTrace(trace.*);
|
std.debug.dumpStackTrace(trace.*);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return 0;
|
return null;
|
||||||
},
|
},
|
||||||
else => @compileError(bad_startfn_ret),
|
else => @compileError(bad_startfn_ret),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue