diff options
| author | Stefan Boberg <[email protected]> | 2025-09-17 12:48:38 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-09-17 12:48:38 +0200 |
| commit | 324d7ebca12909a91eb98c41ee73304ad7ee7ea6 (patch) | |
| tree | 9d256567ed94da881713c2b252b8fc4a64b1134b /xmake.lua | |
| parent | Sorting oplog tree view by size would raise an error. (#497) (diff) | |
| download | zen-324d7ebca12909a91eb98c41ee73304ad7ee7ea6.tar.xz zen-324d7ebca12909a91eb98c41ee73304ad7ee7ea6.zip | |
rpmalloc fixes (#499)
* fixed rpmalloc build on Linux and Mac
* updated rpmalloc from develop branch on the advice of mjansson
* enabled rpmalloc on all platforms
note that this does not change any behaviour unless `--malloc=rpmalloc` is passed in on the command line. The default is still `mimalloc`.
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -121,6 +121,7 @@ end if is_os("linux") then add_cxxflags("-Wno-vla-cxx-extension") + add_defines("_GNU_SOURCE") end -- Turn use of undefined cpp macros into errors @@ -150,7 +151,7 @@ option_end() add_define_by_config("ZEN_USE_MIMALLOC", "zenmimalloc") option("zenrpmalloc") - set_default(is_os("windows")) + set_default(true) set_showmenu(true) set_description("Use rpmalloc for faster memory management") option_end() |