From 5d8429d9535b4f35fef7d825eae14c0d56eddb75 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 29 Sep 2021 22:49:47 +0000 Subject: [PATCH] adds unprefixed_malloc_on_supported_platforms to jemalloc (#20317) (#20325) Without this feature jemalloc is used only for Rust code but not for bundled C/C++ libraries (like rocksdb). https://github.com/solana-labs/solana/issues/14366#issuecomment-930404992 (cherry picked from commit 4bf6d0c4d7f90ff9e02302279469bb236f8b3851) Co-authored-by: behzad nouri --- validator/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/Cargo.toml b/validator/Cargo.toml index a8ebd7aa74..5dfd1c67e3 100644 --- a/validator/Cargo.toml +++ b/validator/Cargo.toml @@ -51,7 +51,7 @@ solana-vote-program = { path = "../programs/vote", version = "=1.7.14" } symlink = "0.1.0" [target.'cfg(not(target_env = "msvc"))'.dependencies] -jemallocator = {package = "tikv-jemallocator", version = "0.4.1"} +jemallocator = {package = "tikv-jemallocator", version = "0.4.1", feautres = ["unprefixed_malloc_on_supported_platforms"]} [target."cfg(unix)".dependencies] libc = "0.2.81"