Skip to content

Commit

Permalink
[libc++][oss-fuzz] Updates C++ version used. (llvm#87531)
Browse files Browse the repository at this point in the history
This version update allows testing of `std::format` and the chrono
timezone parsing in oss-fuzz.
  • Loading branch information
mordante authored Apr 4, 2024
1 parent 1b76120 commit eb38190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/utils/ci/oss-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ for test in libcxx/test/libcxx/fuzzing/*.pass.cpp; do
exe="$(basename ${test})"
exe="${exe%.pass.cpp}"
${CXX} ${CXXFLAGS} \
-std=c++14 \
-std=c++20 \
-DLIBCPP_OSS_FUZZ \
-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS \
-nostdinc++ -cxx-isystem ${INSTALL}/include/c++/v1 \
Expand Down

0 comments on commit eb38190

Please sign in to comment.