[fuzzer] Use LIBCXX_ABI_UNSTABLE for hermetic libc++ (#189096)

This build of libc++ never interacts with any other, so
it can always use the latest and best ABI.
This commit is contained in:
Roland McGrath 2026-03-30 11:24:04 -07:00 committed by GitHub
parent 7ccd92e5e6
commit bdf28a6d48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,6 +165,7 @@ if(OS_NAME MATCHES "Android|Linux|Fuchsia" AND
-DRUNTIMES_EXECUTE_ONLY_CODE=${RUNTIMES_EXECUTE_ONLY_CODE}
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
-DLIBCXX_ABI_NAMESPACE=__Fuzzer
-DLIBCXX_ABI_UNSTABLE=ON
-DLIBCXX_ENABLE_EXCEPTIONS=OFF)
target_compile_options(RTfuzzer.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1)
add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-install-cmake326-workaround)