We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5688536 commit 18520d4Copy full SHA for 18520d4
libc/cmake/modules/LLVMLibCTestRules.cmake
@@ -3,6 +3,11 @@ function(_get_common_test_compile_options output_var c_test flags)
3
_get_compile_options_from_config(config_flags)
4
_get_compile_options_from_arch(arch_flags)
5
6
+ # Death test executor is only available in Linux for now.
7
+ if(NOT ${LIBC_TARGET_OS} STREQUAL "linux")
8
+ list(REMOVE_ITEM config_flags "-DLIBC_ADD_NULL_CHECKS")
9
+ endif()
10
+
11
set(compile_options
12
${LIBC_COMPILE_OPTIONS_DEFAULT}
13
${LIBC_TEST_COMPILE_OPTIONS_DEFAULT}
0 commit comments