mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.Thread: Fix wasi_thread_start() export to use a pointer.
Closes #22518.
This commit is contained in:
parent
ebf782e944
commit
db8ed730e7
1 changed files with 1 additions and 1 deletions
|
|
@ -1022,7 +1022,7 @@ const WasiThreadImpl = struct {
|
||||||
|
|
||||||
comptime {
|
comptime {
|
||||||
if (!builtin.single_threaded) {
|
if (!builtin.single_threaded) {
|
||||||
@export(wasi_thread_start, .{ .name = "wasi_thread_start" });
|
@export(&wasi_thread_start, .{ .name = "wasi_thread_start" });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue