We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 193f11d commit efa6d2aCopy full SHA for efa6d2a
samples/wasi-threads/wasm-apps/CMakeLists.txt
@@ -14,7 +14,7 @@ endif ()
14
set (CMAKE_SYSROOT "${WASI_SYSROOT}")
15
set (CMAKE_C_COMPILER "${WASI_SDK_DIR}/bin/clang")
16
set (CMAKE_ASM_COMPILER "${WASI_SDK_DIR}/bin/clang")
17
-set (CMAKE_C_COMPILER_TARGET "wasm32-wasi")
+set (CMAKE_C_COMPILER_TARGET "wasm32-wasi-threads")
18
19
function (compile_sample SOURCE_FILE)
20
get_filename_component (FILE_NAME ${SOURCE_FILE} NAME_WLE)
@@ -36,4 +36,4 @@ function (compile_sample SOURCE_FILE)
36
endfunction ()
37
38
compile_sample(no_pthread.c wasi_thread_start.S)
39
-compile_sample(thread_termination.c wasi_thread_start.S)
+compile_sample(thread_termination.c wasi_thread_start.S)
0 commit comments