Skip to content

Commit

Permalink
adds unprefixed_malloc_on_supported_platforms to jemalloc (solana-lab…
Browse files Browse the repository at this point in the history
…s#20317)

Without this feature jemalloc is used only for Rust code but not for
bundled C/C++ libraries (like rocksdb).
solana-labs#14366 (comment)
  • Loading branch information
behzadnouri authored and dankelleher committed Nov 24, 2021
1 parent 99c2ea3 commit a63fea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a63fea0

Please sign in to comment.