zig icon indicating copy to clipboard operation
zig copied to clipboard

Add `!noreturn` return type for `std.Thread.spawn`

Open Arnau478 opened this issue 9 months ago • 0 comments

Allow startFn to return !noreturn. If both noreturn and !void are supported, why wouldn't !noreturn be?

Right now the error is error: expected return type of startFn to be 'u8', 'noreturn', 'void', or '!void'

Arnau478 avatar May 21 '24 18:05 Arnau478