From d43fe51166a91de00dbd129880ce352f582a25b7 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 13 Jan 2024 03:55:06 -0500 Subject: [PATCH] common/build-helper/rust.sh: support larger pagesizes intentionally not forcing the usage of system jemalloc because it builds with an unprefixed malloc and thus jemalloc's malloc can unintentionally be used for linked C libraries --- common/build-helper/rust.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/build-helper/rust.sh b/common/build-helper/rust.sh index 460aad6a12e..22bfd980ba9 100644 --- a/common/build-helper/rust.sh +++ b/common/build-helper/rust.sh @@ -67,3 +67,6 @@ export RUSTONIG_SYSTEM_LIBONIG=1 # libsqlite3-sys export LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + +# jemalloc-sys +export JEMALLOC_SYS_WITH_LG_PAGE=16