Update ErrorUnion thread spawn result to return null instead of 0

This commit is contained in:
Haze Booth 2020-05-05 04:14:11 -04:00
parent f127dee474
commit 4cb4097b08
No known key found for this signature in database
GPG Key ID: E43ADF9634B99745

View File

@ -280,7 +280,7 @@ pub const Thread = struct {
std.debug.dumpStackTrace(trace.*);
}
};
return 0;
return null;
},
else => @compileError(bad_startfn_ret),
}