mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std.Thread: Fix wasi_thread_start() export to use a pointer.
Closes #22518.
This commit is contained in:
parent
ebf782e944
commit
db8ed730e7
@ -1022,7 +1022,7 @@ const WasiThreadImpl = struct {
|
||||
|
||||
comptime {
|
||||
if (!builtin.single_threaded) {
|
||||
@export(wasi_thread_start, .{ .name = "wasi_thread_start" });
|
||||
@export(&wasi_thread_start, .{ .name = "wasi_thread_start" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user