File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ rustc_codegen_ssa = { path = "../librustc_codegen_ssa" }
22
22
# features = ['unprefixed_malloc_on_supported_platforms']
23
23
24
24
[dependencies .mimalloc-sys ]
25
- version = ' 0.1'
25
+ version = ' 0.1.4 '
26
26
optional = true
27
27
28
28
[features ]
29
- jemalloc = [' mimalloc-sys' ]
29
+ jemalloc = [' mimalloc-sys' , ' mimalloc-sys/override ' ]
Original file line number Diff line number Diff line change 1
1
fn main ( ) {
2
- // Pull in jemalloc when enabled.
2
+ // Pull in mimalloc when enabled.
3
3
//
4
- // Note that we're pulling in a static copy of jemalloc which means that to
4
+ // Note that we're pulling in a static copy of mimalloc which means that to
5
5
// pull it in we need to actually reference its symbols for it to get
6
6
// linked. The two crates we link to here, std and rustc_driver, are both
7
- // dynamic libraries. That means to pull in jemalloc we need to actually
7
+ // dynamic libraries. That means to pull in mimalloc we need to actually
8
8
// reference allocation symbols one way or another (as this file is the only
9
9
// object code in the rustc executable).
10
- #[ cfg( feature = "jemalloc -sys" ) ]
10
+ #[ cfg( feature = "mimalloc -sys" ) ]
11
11
{
12
12
use std:: os:: raw:: { c_void, c_int} ;
13
13
You can’t perform that action at this time.
0 commit comments