std.Thread: Fix wasi_thread_start() export to use a pointer.

Closes #22518.
This commit is contained in:
Alex Rønne Petersen 2025-01-18 11:33:31 +01:00
parent ebf782e944
commit db8ed730e7

View File

@ -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" });
}
}