From f4739ec7791e85153d082f4a4bc5b06c7f8a0a85 Mon Sep 17 00:00:00 2001 From: Marcin Kolny Date: Tue, 24 Jan 2023 10:23:34 +0000 Subject: [PATCH] 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) https://github.com/WebAssembly/wasi-libc/pull/381 --- samples/wasi-threads/wasm-apps/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/wasi-threads/wasm-apps/CMakeLists.txt b/samples/wasi-threads/wasm-apps/CMakeLists.txt index 0da9aa749f..ed5ea57493 100644 --- a/samples/wasi-threads/wasm-apps/CMakeLists.txt +++ b/samples/wasi-threads/wasm-apps/CMakeLists.txt @@ -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)