Skip to content

Commit c7eba6b

Browse files
committed
gate mi_stats_merge
1 parent fc64242 commit c7eba6b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

libmimalloc-sys/src/extended.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ extern "C" {
314314
/// Merge thread local statistics with the main statistics and reset.
315315
///
316316
/// Note: This function is thread safe.
317+
///
318+
/// Note: not available in v3 (declared in header but not implemented).
319+
#[cfg(not(feature = "v3"))]
317320
pub fn mi_stats_merge();
318321

319322
/// Return the mimalloc version number.

0 commit comments

Comments
 (0)