Repository navigation
chore(deps): update mimalloc to v2.5.3 and mimalloc3 to v3.7.0 - #126
Merged
Merged
Conversation
Merged
shulaoda
pushed a commit
that referenced
this pull request
Nov 23, 2026
## 🤖 New release * `libmimalloc-sys2`: 0.1.66 -> 0.1.67 (✓ API compatible changes) * `mimalloc-safe`: 0.1.70 -> 0.1.71 <details><summary><i><b>Changelog</b></i></summary><p> ## `libmimalloc-sys2` <blockquote> ## [0.1.67] - 2026-11-23 ### Chore - *(deps)* Update mimalloc to v2.5.3 and mimalloc3 to v3.7.0 ([#126](#126)) </blockquote> ## `mimalloc-safe` <blockquote> ## [0.1.71] - 2026-11-23 ### Chore - Updated the following local packages: libmimalloc-sys2 </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update both submodules to the latest upstream releases:
mimalloc(v2): v2.5.2 (2406cc5f) → v2.5.3 (9593e865)mimalloc3(v3): v3.6.1 (56dc5eb8) → v3.7.0 (1ed67b51)No change to
build.rsor the Rust sources.v2.5.3
Small release: fixes commit stats for on-demand commit (microsoft/mimalloc#1482), defines
mi_malloc_size/mi_malloc_usable_sizewithoutMI_MALLOC_OVERRIDE, and on Windows no longer attaches to the parent console when there is no stderr (output goes toOutputDebugString).v3.7.0
A large release: many race and use-after-free fixes around heap delete and concurrent frees, arena purge and commit fixes, plus new opt-in features (MTE, PAC,
MI_SECURE=CHECKED) that we do not enable. Changes that may be visible to users of thev3feature:-DMI_ENABLE_LARGE_PAGES=1.secure+v3:MI_SECURE_ENVnow defaults to on withMI_SECURE>=1, so onlyMIMALLOC_SHOW_STATS,MIMALLOC_VERBOSE, andMIMALLOC_ALLOW_THPare read from the environment.MIMALLOC_*environment variables now print a warning (when errors are shown, e.g. in debug builds).realloconly shrinks in place with at most 12.5% waste (was 50%), except for huge blocks, where the tail is reset instead.Build notes:
backtracelinks (MI_HAS_BACKTRACE) instead of only checking forexecinfo.h. So the AndroidMI_HAS_EXECINFOH=OFFoverride inbuild.rsno longer has an effect: Android below API 33 falls back to_Unwind_Backtraceon its own. I left it as is; it can be removed in a follow-up once the Android build passes here.src/static.cincludes the new source files, and the Windows link libraries are unchanged, so theccbuild on Windows needs no change.mimalloc/mimalloc-secure.mi_option_unsafe_guarded_preciseis renamed tomi_option_deprecated_unsafe_guarded_preciseandmi_option_mteis added at the end; existing values do not change.