Skip to content

Commit 4d474b1

Browse files
authored
Change Clang's default target to wasm32-wasip1 (#600)
No longer use `wasm32-wasi` since Clang issues a deprecation warning about that. This fixes the `clang` binary, by default, emitting a warning for example in the final build.
1 parent ab2be6e commit 4d474b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/wasi-sdk-toolchain.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ ExternalProject_Add(llvm-build
163163
-DLLVM_INCLUDE_BENCHMARKS=OFF
164164
-DLLVM_INCLUDE_EXAMPLES=OFF
165165
-DLLVM_TARGETS_TO_BUILD=WebAssembly
166-
-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi
166+
-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasip1
167167
-DLLVM_INSTALL_BINUTILS_SYMLINKS=TRUE
168168
-DLLVM_ENABLE_LIBXML2=OFF
169169
# Pass `-s` to strip symbols by default and shrink the size of the

0 commit comments

Comments
 (0)