Skip to content

Commit b1ece11

Browse files
committed
Work around upstream regression by disabling -checkaction=context for the Phobos unittests
1 parent 48acca9 commit b1ece11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ set(CMAKE_INSTALL_LIBDIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
5353
set(DRUNTIME_EXTRA_FLAGS )
5454
set(DRUNTIME_EXTRA_UNITTEST_FLAGS -d-version=CoreUnittest -unittest -checkaction=context -linkonce-templates)
5555
set(PHOBOS2_EXTRA_FLAGS )
56-
set(PHOBOS2_EXTRA_UNITTEST_FLAGS -d-version=StdUnittest -unittest -checkaction=context -linkonce-templates)
56+
# FIXME: restore `-checkaction=context` after https://github.com/dlang/dmd/issues/21646 has been fixed
57+
set(PHOBOS2_EXTRA_UNITTEST_FLAGS -d-version=StdUnittest -unittest -linkonce-templates)
5758

5859
# Shadow the D_FLAGS cache variable by a regular variable containing all base D flags
5960
set(D_FLAGS ${D_FLAGS} ${D_EXTRA_FLAGS})

0 commit comments

Comments
 (0)