Skip to content

Commit 24f78f1

Browse files
committed
[Fuchsia] Explicitly set C++ standard C++23 in libcxx tests
This patch explicitly set C++23 in libcxx tests to avoid a test breakage caused by removal of codecvt.
1 parent 6a4489a commit 24f78f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/cmake/caches/Fuchsia-stage2.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ if(WIN32 OR LLVM_WINSYSROOT)
136136
set(RUNTIMES_${target}_CMAKE_EXE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
137137
set(RUNTIMES_${target}_CMAKE_SHARED_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
138138
set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
139+
set(RUNTIMES_${target}_LIBCXX_TEST_PARAMS "std=c++23" CACHE STRING "")
139140
endif()
140141

141142
foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unknown-linux-gnu;riscv64-unknown-linux-gnu;x86_64-unknown-linux-gnu)

0 commit comments

Comments
 (0)