From e153be0be2fb8df6656292daab3fa59963c76737 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Tue, 13 Feb 2024 17:51:51 -0800 Subject: Let memory allocators trap by default when attempting to allocate beyond capacity. --- mem/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'mem/CMakeLists.txt') diff --git a/mem/CMakeLists.txt b/mem/CMakeLists.txt index 233d2be..e4b28c3 100644 --- a/mem/CMakeLists.txt +++ b/mem/CMakeLists.txt @@ -11,6 +11,7 @@ target_include_directories(mem PUBLIC include) target_link_libraries(mem + cassert list) target_compile_options(mem PRIVATE -Wall -Wextra) -- cgit v1.2.3