diff options
author | 3gg <3gg@shellblade.net> | 2024-02-13 17:51:51 -0800 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-02-13 17:51:51 -0800 |
commit | e153be0be2fb8df6656292daab3fa59963c76737 (patch) | |
tree | 7cca3fc134553017cb3c259db1dca33c98556109 /mem/CMakeLists.txt | |
parent | 84bdfa4a23f5b8daa7921541b007518bc634be0f (diff) |
Let memory allocators trap by default when attempting to allocate beyond capacity.
Diffstat (limited to 'mem/CMakeLists.txt')
-rw-r--r-- | mem/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
11 | include) | 11 | include) |
12 | 12 | ||
13 | target_link_libraries(mem | 13 | target_link_libraries(mem |
14 | cassert | ||
14 | list) | 15 | list) |
15 | 16 | ||
16 | target_compile_options(mem PRIVATE -Wall -Wextra) | 17 | target_compile_options(mem PRIVATE -Wall -Wextra) |