From 36b757f90ea48cd5f18a1ae73b4e309a9cc7e16e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 3 Mar 2026 10:12:06 -0800 Subject: [PATCH] Include `libclang.so` in wasi-sdk This includes a new library, `libclang.so`, which is Clang's public C API. This is used by tooling such as Rust's `bindgen` library to generate bindings and can be useful when bindings are generated using a wasi-sdk distribution. --- cmake/wasi-sdk-toolchain.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/wasi-sdk-toolchain.cmake b/cmake/wasi-sdk-toolchain.cmake index c02560d..3c3f4b3 100644 --- a/cmake/wasi-sdk-toolchain.cmake +++ b/cmake/wasi-sdk-toolchain.cmake @@ -57,7 +57,8 @@ set(tools objdump objcopy c++filt - llvm-config) + llvm-config + libclang) # By default link LLVM dynamically to all the various tools. This greatly # reduces the binary size of all the tools through a shared library rather than