wasi-threads: fix import name (#5748)
* wasi-threads: fix import name As @TerrorJack pointed out in #5484, that PR implements an older name--`thread_spawn`. This change uses the now-official name from the specification--`thread-spawn`. * fix: update name in test
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
(func $__wasi_fd_write (param i32 i32 i32 i32) (result i32)))
|
||||
(import "wasi_snapshot_preview1" "proc_exit"
|
||||
(func $__wasi_proc_exit (param i32)))
|
||||
(import "wasi" "thread_spawn"
|
||||
(import "wasi" "thread-spawn"
|
||||
(func $__wasi_thread_spawn (param i32) (result i32)))
|
||||
|
||||
(func (export "_start")
|
||||
|
||||
Reference in New Issue
Block a user