chore(deps): update mimalloc (v2) submodule to v2.5.1 - #98
Merged
Conversation
Routine bump of the default (non-`v3`) tree, `989c8ebc` (v2.5.0) → `1e884db2` (v2.5.1, 2026-09-01). Upstream changes are build-only: `MI_USE_CXX` becomes a tri-state cmake option defaulting to the previous behavior, a clang-cl workaround in `include/mimalloc/atomic.h` (#1379), CI pins/dependabot, and `MI_MALLOC_VERSION` 20501. No allocator source changed; the v2 line was never affected by the process-init thread thread-done gap fixed for v3 in #97. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_beb3cb0c-58c8-4536-81f7-b6d6a58216f1) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merged
Brooooooklyn
pushed a commit
that referenced
this pull request
Sep 4, 2026
## 🤖 New release * `libmimalloc-sys2`: 0.1.61 -> 0.1.62 (✓ API compatible changes) * `mimalloc-safe`: 0.1.65 -> 0.1.66 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `libmimalloc-sys2` <blockquote> ## [0.1.62] - 2026-09-04 ### Bug Fixes - *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook ([#97](#97)) ### Chore - *(deps)* Update mimalloc (v2) submodule to v2.5.1 ([#98](#98)) </blockquote> ## `mimalloc-safe` <blockquote> ## [0.1.66] - 2026-09-04 ### Bug Fixes - *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook ([#97](#97)) ### Chore - *(deps)* Update dependency @napi-rs/cli to v3.9.0 ([#94](#94)) - *(deps)* Update dependency @emnapi/core to v2.0.0-alpha.5 ([#95](#95)) - *(deps)* Update dependency @emnapi/runtime to v2.0.0-alpha.5 ([#96](#96)) - *(deps)* Update mimalloc (v2) submodule to v2.5.1 ([#98](#98)) </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>
Merged
Brooooooklyn
pushed a commit
that referenced
this pull request
Sep 4, 2026
## 🤖 New release * `libmimalloc-sys2`: 0.1.61 -> 0.1.62 * `mimalloc-safe`: 0.1.65 -> 0.1.66 <details><summary><i><b>Changelog</b></i></summary><p> ## `libmimalloc-sys2` <blockquote> ## [0.1.62] - 2026-09-04 ### Bug Fixes - *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook ([#97](#97)) ### Chore - *(deps)* Update mimalloc (v2) submodule to v2.5.1 ([#98](#98)) </blockquote> ## `mimalloc-safe` <blockquote> ## [0.1.66] - 2026-09-04 ### Bug Fixes - *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook ([#97](#97)) ### Chore - *(deps)* Update dependency @napi-rs/cli to v3.9.0 ([#94](#94)) - *(deps)* Update dependency @emnapi/core to v2.0.0-alpha.5 ([#95](#95)) - *(deps)* Update dependency @emnapi/runtime to v2.0.0-alpha.5 ([#96](#96)) - *(deps)* Update mimalloc (v2) submodule to v2.5.1 ([#98](#98)) </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.
Changes
mimalloc(v2, default feature) —989c8ebc(v2.5.0) →1e884db2(v2.5.1, 2026-09-01). 15 upstream commits, all build/CI only:MI_USE_CXXis now a tri-state cmake option (DEFAULTkeeps the old behavior: C++ only for MSVC/Intel/clang-cl), a clang-clldar/stlrworkaround ininclude/mimalloc/atomic.h(Work around clang-cl missing ldar, stlr microsoft/mimalloc#1379), C-mode MSVC builds (#1380), pinned actions, dependabot,MI_MALLOC_VERSION20501. No allocator source files changed.build.rs, thev3submodule (fix(sys): mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook #97), and the Rust sources are untouched.Verification
cargo test6/6,cargo test --features secure6/6,cargo test --features extended8/8,libmimalloc-sys-test258/258 (default and secure).example/on the v2 tree): the worker-first repro from fix(sys): mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook #97 passes (1 / 64 / 64+4 concurrent workers; Rust threads that reuse the dead worker's TCB 64/64 times), as expected for v2, which still associates the process-init thread with the thread-done key.cargo test6/6,cargo test --features secure6/6,libmimalloc-sys-test258/258 (default and secure).🤖 Generated with Claude Code
https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
Note
Low Risk
Submodule-only dependency bump with upstream reporting no allocator source changes; Rust integration is untouched.
Overview
Bumps the default mimalloc v2 git submodule (
libmimalloc-sys/c_src/mimalloc) from v2.5.0 to v2.5.1. This is a pointer-only change in this repo:build.rs, Rust sources, and the v3 submodule are unchanged.Upstream v2.5.1 is build/CI-focused (tri-state
MI_USE_CXX, clang-clldar/stlrworkaround inatomic.h, C-mode MSVC builds, pinned actions,MI_MALLOC_VERSION20501). No mimalloc allocator implementation files changed in that release.Reviewed by Cursor Bugbot for commit ed0f9ad. Bugbot is set up for automated code reviews on this repo. Configure here.