From e92d213fbe345de549c7c58edb27cd79ab5025e5 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Jan 2023 11:28:05 +0900 Subject: [PATCH] Rename thread_spawn import Following the wit-defined ABI: https://github.com/WebAssembly/wasi-threads/pull/26 --- libc-bottom-half/sources/__wasilibc_real.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc-bottom-half/sources/__wasilibc_real.c b/libc-bottom-half/sources/__wasilibc_real.c index d2e6b71c6..186de0183 100644 --- a/libc-bottom-half/sources/__wasilibc_real.c +++ b/libc-bottom-half/sources/__wasilibc_real.c @@ -662,7 +662,7 @@ __wasi_errno_t __wasi_sock_shutdown( #ifdef _REENTRANT int32_t __imported_wasi_thread_spawn(int32_t arg0) __attribute__(( __import_module__("wasi"), - __import_name__("thread_spawn") + __import_name__("thread-spawn") )); int32_t __wasi_thread_spawn(void* start_arg) {