mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-10 23:30:53 +00:00
Add jemalloc
to test -sys
style dependencies
This commit is contained in:
parent
fd201ad913
commit
9de8f90afb
4 changed files with 33 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
#[cfg(not(target_env = "msvc"))]
|
||||
use tikv_jemallocator::Jemalloc;
|
||||
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
#[global_allocator]
|
||||
static GLOBAL: Jemalloc = Jemalloc;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue