From 421e13c214704bdd84c3f75b4e53612d14da347e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 9 Sep 2026 20:48:15 -0500 Subject: [PATCH] =?UTF-8?q?Add=20`-DWASI=5FSDK=5FINSTALL=5FTO=5FCLANG=5FRE?= =?UTF-8?q?SOURCE=5FDIR=3DON`=20to=20default=20instruct=E2=80=A6=20(#658)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ions For an in-place build this is what'll be necessary to get a fully working compiler. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dac94ca..53ccd51 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,8 @@ cmake -G Ninja -B build/sysroot -S . \ -DCMAKE_INSTALL_PREFIX=build/install \ -DCMAKE_TOOLCHAIN_FILE=build/install/share/cmake/wasi-sdk-p2.cmake \ -DCMAKE_C_COMPILER_WORKS=ON \ - -DCMAKE_CXX_COMPILER_WORKS=ON + -DCMAKE_CXX_COMPILER_WORKS=ON \ + -DWASI_SDK_INSTALL_TO_CLANG_RESOURCE_DIR=ON cmake --build build/sysroot --target install ```