diff --git a/Cargo.lock b/Cargo.lock index 041e71a..b57bf40 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3292,8 +3292,7 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" version = "0.5.4+5.3.0-patched" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +source = "git+https://github.com/james58899/jemallocator?rev=6d3f9f1#6d3f9f1c10ad0b4f3718f6dde45811f02ec3befa" dependencies = [ "cc", "libc", diff --git a/Cargo.toml b/Cargo.toml index 97ea961..3bbf270 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,9 @@ tao = "0.24" built = { version = "0.7", features = ["git2", "chrono", "semver"] } openssl-src = { version = "300", features = ["weak-crypto"] } +[patch.crates-io] +tikv-jemalloc-sys = { git = 'https://github.com/james58899/jemallocator', rev = '6d3f9f1' } + [profile.release] lto = true strip = true