Disable jemalloc on Windows

This commit is contained in:
Michael Sproul
2022-11-08 15:28:11 +11:00
parent 41eac5d0c1
commit 81441e9cea

View File

@@ -15,7 +15,12 @@ PINNED_NIGHTLY ?= nightly
CLIPPY_PINNED_NIGHTLY=nightly-2022-05-19
# List of features to use when building natively. Can be overriden via the environment.
FEATURES ?= jemalloc
# No jemalloc on Windows
ifeq ($(OS),Windows_NT)
FEATURES?=
else
FEATURES?=jemalloc
endif
# List of features to use when cross-compiling. Can be overridden via the environment.
CROSS_FEATURES ?= gnosis,slasher-lmdb,slasher-mdbx,jemalloc