Merge pull request #5273 from haze/hb/fix-posix-errorunion-thread-spawn-result

Update ErrorUnion thread spawn result to return null instead of 0
master
Vexu 2020-05-05 16:20:05 +03:00 committed by GitHub
commit fde6d28c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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