[libcxx-commits] [libcxx] [libcxx][FreeBSD] Enable std module on FreeBSD (PR #206269)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 27 09:44:42 PDT 2026


https://github.com/aokblast created https://github.com/llvm/llvm-project/pull/206269

None

>From 6b200ffaf44f0d50fecd45e25ae0ef1e67619924 Mon Sep 17 00:00:00 2001
From: ShengYi Hung <aokblast at FreeBSD.org>
Date: Sat, 27 Jun 2026 12:36:39 -0400
Subject: [PATCH] [libcxx][FreeBSD] Enable std module on FreeBSD

---
 libcxx/utils/libcxx/test/features/misc.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libcxx/utils/libcxx/test/features/misc.py b/libcxx/utils/libcxx/test/features/misc.py
index 92b6dc352d2e1..464d2aaaad79c 100644
--- a/libcxx/utils/libcxx/test/features/misc.py
+++ b/libcxx/utils/libcxx/test/features/misc.py
@@ -217,7 +217,6 @@ def _mingwSupportsModules(cfg):
         # This is not allowed per C11 7.1.2 Standard headers/6
         #  Any declaration of a library function shall have external linkage.
         when=lambda cfg: "__ANDROID__" in compilerMacros(cfg)
-        or "__FreeBSD__" in compilerMacros(cfg)
         or ("_WIN32" in compilerMacros(cfg) and not _mingwSupportsModules(cfg))
         or platform.system().lower().startswith("aix")
         # Avoid building on platforms that don't support modules properly.



More information about the libcxx-commits mailing list