Skip to content

Commit

Permalink
Update compiler target for wasi-threads examples
Browse files Browse the repository at this point in the history
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
  • Loading branch information
loganek committed Jan 24, 2023
1 parent 9cf55f9 commit f4739ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/wasi-threads/wasm-apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif ()
set (CMAKE_SYSROOT "${WASI_SYSROOT}")
set (CMAKE_C_COMPILER "${WASI_SDK_DIR}/bin/clang")
set (CMAKE_ASM_COMPILER "${WASI_SDK_DIR}/bin/clang")
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi")
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi-threads")

function (compile_sample SOURCE_FILE)
get_filename_component (FILE_NAME ${SOURCE_FILE} NAME_WLE)
Expand Down

0 comments on commit f4739ec

Please sign in to comment.