Skip to content

Commit

Permalink
revert ASan inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
prathameshd30 committed Sep 7, 2024
1 parent a788804 commit 3728f10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_BUILD_TYPE Debug)
##set(CMAKE_BUILD_TYPE Release)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -fsanitize=undefined -fsanitize=address")

# deliberately not including these subdirectories by glob regex as precaution

Expand Down
6 changes: 1 addition & 5 deletions tests/data_structures/vector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,4 @@ add_executable(vector_primitive_test vector_primitive_test.c)
add_test(vector_primitive_test vector_primitive_test)

add_executable(vector_struct_test vector_struct_test.c)
add_test(vector_struct_test vector_struct_test)

add_link_options(prime-headers
BEFORE PUBLIC -fsanitize=undefined PUBLIC -fsanitize=address
)
add_test(vector_struct_test vector_struct_test)

0 comments on commit 3728f10

Please sign in to comment.