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

Connector Switch via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 9 08:36:15 PDT 2025


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

… builds using MinGW.

>From 0415ebc078485d5b11827e55405e6ff1e67c2e90 Mon Sep 17 00:00:00 2001
From: Connector Switch <c8ef at outlook.com>
Date: Thu, 9 Oct 2025 23:35:45 +0800
Subject: [PATCH] [libcxx][NFC] Added `libunwind` to `LLVM_ENABLE_RUNTIMES` for
 Windows builds using MinGW.

---
 libcxx/docs/VendorDocumentation.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the libcxx-commits mailing list