Skip to content

Commit dba7ad9

Browse files
alexrpFri3dNstuff
authored andcommitted
std.Thread: Fix wasi_thread_start() export to use a pointer.
Closes ziglang#22518.
1 parent ad22cdd commit dba7ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/Thread.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ const WasiThreadImpl = struct {
10221022

10231023
comptime {
10241024
if (!builtin.single_threaded) {
1025-
@export(wasi_thread_start, .{ .name = "wasi_thread_start" });
1025+
@export(&wasi_thread_start, .{ .name = "wasi_thread_start" });
10261026
}
10271027
}
10281028

0 commit comments

Comments
 (0)