adds unprefixed_malloc_on_supported_platforms to jemalloc (#20317)

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
This commit is contained in:
behzad nouri 2021-09-29 20:41:09 +00:00 committed by GitHub
parent 037c9f571e
commit 4bf6d0c4d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ solana-vote-program = { path = "../programs/vote", version = "=1.8.0" }
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.103"