File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ directories = "5"
31
31
# Copied from `compiler/rustc/Cargo.toml`.
32
32
# But only for some targets, it fails for others. Rustc configures this in its CI, but we can't
33
33
# easily use that since we support of-tree builds.
34
- [target .'cfg(any(target_os = "linux", target_os = "macos"))' .dependencies .jemalloc-sys ]
35
- version = " 0.5 .0"
34
+ [target .'cfg(any(target_os = "linux", target_os = "macos"))' .dependencies .tikv- jemalloc-sys ]
35
+ version = " 0.6 .0"
36
36
features = [' unprefixed_malloc_on_supported_platforms' ]
37
37
38
38
[target .'cfg(unix)' .dependencies ]
Original file line number Diff line number Diff line change @@ -316,6 +316,8 @@ fn jemalloc_magic() {
316
316
// See there for further comments.
317
317
use std:: os:: raw:: { c_int, c_void} ;
318
318
319
+ use tikv_jemalloc_sys as jemalloc_sys;
320
+
319
321
#[ used]
320
322
static _F1: unsafe extern "C" fn ( usize , usize ) -> * mut c_void = jemalloc_sys:: calloc;
321
323
#[ used]
You can’t perform that action at this time.
0 commit comments