Skip to content

Commit d1c637a

Browse files
committed
improve comment
1 parent 650fd26 commit d1c637a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/conan.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ if(SILKWORM_SANITIZE_COMPILER_OPTIONS)
9595
endif()
9696

9797
if(SILKWORM_USE_MIMALLOC)
98-
# Do not use mimalloc override on sanitizer builds
99-
# (https://github.com/microsoft/mimalloc/issues/317#issuecomment-708506405) Moreover, mimalloc override causes a crash
100-
# on macOS at startup in rpcdaemon, so we just enable it on Linux
98+
# mimalloc should not be used in sanitizer builds or at least its override option must be disabled
99+
# (https://github.com/microsoft/mimalloc/issues/317#issuecomment-708506405)
100+
# override option causes a crash on macOS at startup in rpcdaemon, so we enable it just on Linux
101101
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux" AND NOT SILKWORM_SANITIZE)
102102
list(APPEND CONAN_OPTIONS "mimalloc:override=True")
103103
endif()

0 commit comments

Comments
 (0)