Skip to content

Commit f4739ec

Browse files
committed
Update compiler target for wasi-threads examples
The target was updated to wasm32-wasi-threads in wasi-libc (and most likely will stay like that for a while) WebAssembly/wasi-libc#381
1 parent 9cf55f9 commit f4739ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/wasi-threads/wasm-apps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif ()
1414
set (CMAKE_SYSROOT "${WASI_SYSROOT}")
1515
set (CMAKE_C_COMPILER "${WASI_SDK_DIR}/bin/clang")
1616
set (CMAKE_ASM_COMPILER "${WASI_SDK_DIR}/bin/clang")
17-
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi")
17+
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi-threads")
1818

1919
function (compile_sample SOURCE_FILE)
2020
get_filename_component (FILE_NAME ${SOURCE_FILE} NAME_WLE)

0 commit comments

Comments
 (0)