mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 22:19:30 +03:00
Adding a comment explaining why we disable the redirect lib for windows on arm
This commit is contained in:
parent
16ac29ef75
commit
405f436639
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,8 @@ if(MI_USE_CXX)
|
|||
endif()
|
||||
|
||||
if(NOT MI_DISABLE_REDIRECT)
|
||||
# When compiling for windows on arm the mimalloc-redirect library is not available
|
||||
# as it has not been pre-compiled and the source is not yet available.
|
||||
if(MSVC AND MSVC_C_ARCHITECTURE_ID MATCHES "ARM")
|
||||
set(MI_DISABLE_REDIRECT ON)
|
||||
message(WARNING "Disabling redirection lib is required on ARM (MI_DISABLE_REDIRECT=ON)")
|
||||
|
|
Loading…
Add table
Reference in a new issue