Skip to content

Commit 1cce6a7

Browse files
committed
fixup! Import the source code of mimalloc v2.2.3
To support mimalloc-enabled builds also on Linux and on macOS, we need to ship the respective backends, too. This helped me diagnose "mimalloc vs reftable" problems much quicker because Git's birthplace *is* Linux, and its support for debugging on that platform is still highly unmatched by its support for any other platform. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 07d2876 commit 1cce6a7

File tree

2 files changed

+916
-0
lines changed

2 files changed

+916
-0
lines changed

compat/mimalloc/prim/osx/prim.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* ----------------------------------------------------------------------------
2+
Copyright (c) 2018-2023, Microsoft Research, Daan Leijen
3+
This is free software; you can redistribute it and/or modify it under the
4+
terms of the MIT license. A copy of the license can be found in the file
5+
"LICENSE" at the root of this distribution.
6+
-----------------------------------------------------------------------------*/
7+
8+
// We use the unix/prim.c with the mmap API on macOSX
9+
#include "../unix/prim.c"

0 commit comments

Comments
 (0)