[mimalloc] Install minject tool on windows platform (#51244)

This commit is contained in:
Rémy Tassoux 2026-04-21 03:44:29 +02:00 committed by GitHub
parent 923fc62788
commit 590594fc81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 1 deletions

View File

@ -43,6 +43,15 @@ file(COPY
)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/mimalloc)
if(VCPKG_TARGET_IS_WINDOWS)
file(INSTALL
"${SOURCE_PATH}/bin/minject.exe"
"${SOURCE_PATH}/bin/minject32.exe"
"${SOURCE_PATH}/bin/minject-arm64.exe"
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/"
)
endif()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_replace_string(
"${CURRENT_PACKAGES_DIR}/include/mimalloc.h"

View File

@ -1,6 +1,7 @@
{
"name": "mimalloc",
"version": "3.3.0",
"port-version": 1,
"description": "Compact general purpose allocator with excellent performance",
"homepage": "https://github.com/microsoft/mimalloc",
"license": "MIT",

View File

@ -6498,7 +6498,7 @@
},
"mimalloc": {
"baseline": "3.3.0",
"port-version": 0
"port-version": 1
},
"mimicpp": {
"baseline": "9.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dc6fc14cf9c98de519520ff49c0504422266681a",
"version": "3.3.0",
"port-version": 1
},
{
"git-tree": "8f41fd3b0c556519d0bb71488917d8bf0fcb23b5",
"version": "3.3.0",