diff options
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/heap.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs index dc8280e9b83..3175c516d8e 100644 --- a/src/liballoc/heap.rs +++ b/src/liballoc/heap.rs @@ -136,6 +136,9 @@ mod imp { use libc::{c_char, c_int, c_void, size_t}; #[link(name = "jemalloc", kind = "static")] + #[cfg(not(test))] + extern {} + extern { fn je_mallocx(size: size_t, flags: c_int) -> *mut c_void; fn je_rallocx(ptr: *mut c_void, size: size_t, |
