std.Thread: Fix wasi_thread_start() export to use a pointer.
Closes #22518.
This commit is contained in:
@@ -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" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user