Skip to content

feat: upgrade mimalloc#48

Merged
Brooooooklyn merged 1 commit intomainfrom
01-11-feat_upgrade_mimalloc
Jan 11, 2026
Merged

feat: upgrade mimalloc#48
Brooooooklyn merged 1 commit intomainfrom
01-11-feat_upgrade_mimalloc

Conversation

@Brooooooklyn
Copy link
Member

@Brooooooklyn Brooooooklyn commented Jan 11, 2026

  • v2 -> v2.2.6
  • v3 -> v3.2.6

Note

Aligns FFI and tests with mimalloc v3 while preserving v2 behavior.

  • Gate legacy APIs behind #[cfg(not(feature = "v3"))] (mi_stats_merge, default/backing heap getters/setters, and heap ownership checks)
  • Add new option mi_option_allow_thp and bump _mi_option_last from 37 to 38
  • Update sys-test/build.rs to skip removed symbols when feature = "v3"

Written by Cursor Bugbot for commit bd480b2. This will update automatically on new commits. Configure here.

Copilot AI review requested due to automatic review settings January 11, 2026 13:45
Copy link
Member Author

Brooooooklyn commented Jan 11, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the mimalloc memory allocator library by upgrading two submodule references to newer commits.

Changes:

  • Updated mimalloc3 submodule to commit b732d834bd70d7245162d7cbd56e1717a7333088
  • Updated mimalloc submodule to commit 048d969a1c5ee2fb89c226298f41ea38445546ef

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
libmimalloc-sys/c_src/mimalloc3 Updates the mimalloc3 submodule reference to a newer commit
libmimalloc-sys/c_src/mimalloc Updates the mimalloc submodule reference to a newer commit

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Brooooooklyn Brooooooklyn force-pushed the 01-11-feat_upgrade_mimalloc branch from 21d81ab to ca8b759 Compare January 11, 2026 13:50
@Brooooooklyn Brooooooklyn force-pushed the 01-11-feat_upgrade_mimalloc branch from ca8b759 to bd480b2 Compare January 11, 2026 13:59
@Brooooooklyn Brooooooklyn merged commit 255e13a into main Jan 11, 2026
21 checks passed
@Brooooooklyn Brooooooklyn deleted the 01-11-feat_upgrade_mimalloc branch January 11, 2026 14:03
@github-actions github-actions bot mentioned this pull request Jan 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants