Skip to content

Commit 6ee6372

Browse files
committed
fix: disable mimalloc on macOS
MI_OVERRIDE causes SIGABRT on macOS since Apple's allocator cannot be fully replaced.
1 parent 5fe9ad3 commit 6ee6372

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ endif()
7474
find_package(Threads)
7575

7676
set(MIMALLOC_ENABLED FALSE)
77-
if (USE_MIMALLOC AND NOT EMSCRIPTEN)
77+
if (USE_MIMALLOC AND NOT EMSCRIPTEN AND NOT APPLE)
7878
if (CMAKE_VERSION VERSION_LESS "3.18")
7979
message(WARNING "mimalloc requires CMake >= 3.18, disabling (found ${CMAKE_VERSION})")
8080
else()

0 commit comments

Comments
 (0)