Skip to content

Commit 490441c

Browse files
committed
[libc++][test] Skip module tests on FreeBSD for now
FreeBSD's libc is noncompliant as noted in discussion in #86320.
1 parent 3e3f0c3 commit 490441c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libcxx/utils/libcxx/test/features.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ def _getAndroidDeviceApi(cfg):
280280
# This is not allowed per C11 7.1.2 Standard headers/6
281281
# Any declaration of a library function shall have external linkage.
282282
when=lambda cfg: "__ANDROID__" in compilerMacros(cfg)
283+
or "__FreeBSD__" in compilerMacros(cfg)
283284
or "_WIN32" in compilerMacros(cfg)
284285
or platform.system().lower().startswith("aix")
285286
# Avoid building on platforms that don't support modules properly.

0 commit comments

Comments
 (0)