Skip to content

Commit

Permalink
Switch to maintained version of jemallocator.
Browse files Browse the repository at this point in the history
Switch to maintained version of jemallocator like rustc did in:
  rust-lang/rust#83152
  • Loading branch information
ghuls committed Jan 13, 2022
1 parent 78cd7ef commit e2177db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ regex-syntax = "0.6.25"
itoa = "1.0"
ryu = "1.0"
libc = "0.2"
jemallocator = { version = "0.3", optional = true }
tikv-jemallocator = { version = "0.4", optional = true }
rand = "0.8.4"
lalrpop-util = "0.19.6"
unicode-xid = "0.2.2"
Expand Down Expand Up @@ -55,7 +55,7 @@ tempfile = "3.3"

[features]
default = ["use_jemalloc", "allow_avx2", "llvm_backend", "unstable"]
use_jemalloc = ["jemallocator"]
use_jemalloc = ["tikv-jemallocator"]
# Certain features leverage the AVX2 instruction set, but AVX2 can often make
# the entire application slightly slower, even on chips that support it. For
# those cases, consider disabling allow_avx2.
Expand Down

0 comments on commit e2177db

Please sign in to comment.