mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +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…
x
Reference in New Issue
Block a user