Skip to content

Commit c00538a

Browse files
committed
Update to mimalloc v2.2.2
1 parent cc1c72a commit c00538a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

libmimalloc-sys/c_src/mimalloc

Submodule mimalloc updated 201 files

libmimalloc-sys/src/extended.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ pub const mi_option_max_warnings: mi_option_t = 20;
546546
pub const mi_option_max_segment_reclaim: mi_option_t = 21;
547547

548548
/// Last option.
549-
pub const _mi_option_last: mi_option_t = 29;
549+
pub const _mi_option_last: mi_option_t = 37;
550550

551551
extern "C" {
552552
// Note: mi_option_{enable,disable} aren't exposed because they're redundant
@@ -657,6 +657,8 @@ pub struct mi_heap_area_t {
657657
pub block_size: usize,
658658
/// Size in bytes of a full block including padding and metadata.
659659
pub full_block_size: usize,
660+
/// Heap tag associated with this area
661+
pub heap_tag: i32,
660662
}
661663

662664
/// Visitor function passed to [`mi_heap_visit_blocks`]

0 commit comments

Comments
 (0)