mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
Update ErrorUnion thread spawn result to return null instead of 0
This commit is contained in:
parent
f127dee474
commit
4cb4097b08
@ -280,7 +280,7 @@ pub const Thread = struct {
|
||||
std.debug.dumpStackTrace(trace.*);
|
||||
}
|
||||
};
|
||||
return 0;
|
||||
return null;
|
||||
},
|
||||
else => @compileError(bad_startfn_ret),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user