[libcxx-commits] [libcxx] [libcxx][NFC] Added `libunwind` to `LLVM_ENABLE_RUNTIMES` for Windows… (PR #162682)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 9 08:41:47 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Connector Switch (c8ef)

<details>
<summary>Changes</summary>

… builds using MinGW.

I tried running the original command, but the error told me I had to include libunwind.

---
Full diff: https://github.com/llvm/llvm-project/pull/162682.diff


1 Files Affected:

- (modified) libcxx/docs/VendorDocumentation.rst (+1-1) 


``````````diff
diff --git a/libcxx/docs/VendorDocumentation.rst b/libcxx/docs/VendorDocumentation.rst
index aede8f9a81dd2..7eba598909a74 100644
--- a/libcxx/docs/VendorDocumentation.rst
+++ b/libcxx/docs/VendorDocumentation.rst
@@ -443,7 +443,7 @@ e.g. the ``mingw-w64-x86_64-clang`` package), together with CMake and ninja.
           -DCMAKE_C_COMPILER=clang                                                    \
           -DCMAKE_CXX_COMPILER=clang++                                                \
           -DLLVM_ENABLE_LLD=ON                                                        \
-          -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"                                   \
+          -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind"                         \
           -DLIBCXXABI_ENABLE_SHARED=OFF                                               \
           -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
   > ninja -C build cxx

``````````

</details>


https://github.com/llvm/llvm-project/pull/162682


More information about the libcxx-commits mailing list