@@ -123,8 +123,6 @@ pub struct Config {
123
123
pub dist_gpg_password_file : Option < PathBuf > ,
124
124
125
125
// libstd features
126
- pub debug_jemalloc : bool ,
127
- pub use_jemalloc : bool ,
128
126
pub backtrace : bool , // support for RUST_BACKTRACE
129
127
pub wasm_syscall : bool ,
130
128
@@ -166,7 +164,6 @@ pub struct Target {
166
164
pub llvm_config : Option < PathBuf > ,
167
165
/// Some(path to FileCheck) if one was specified.
168
166
pub llvm_filecheck : Option < PathBuf > ,
169
- pub jemalloc : Option < PathBuf > ,
170
167
pub cc : Option < PathBuf > ,
171
168
pub cxx : Option < PathBuf > ,
172
169
pub ar : Option < PathBuf > ,
@@ -302,8 +299,6 @@ struct Rust {
302
299
debuginfo_only_std : Option < bool > ,
303
300
debuginfo_tools : Option < bool > ,
304
301
experimental_parallel_queries : Option < bool > ,
305
- debug_jemalloc : Option < bool > ,
306
- use_jemalloc : Option < bool > ,
307
302
backtrace : Option < bool > ,
308
303
default_linker : Option < String > ,
309
304
channel : Option < String > ,
@@ -337,7 +332,6 @@ struct Rust {
337
332
struct TomlTarget {
338
333
llvm_config : Option < String > ,
339
334
llvm_filecheck : Option < String > ,
340
- jemalloc : Option < String > ,
341
335
cc : Option < String > ,
342
336
cxx : Option < String > ,
343
337
ar : Option < String > ,
@@ -363,7 +357,6 @@ impl Config {
363
357
config. llvm_enabled = true ;
364
358
config. llvm_optimize = true ;
365
359
config. llvm_version_check = true ;
366
- config. use_jemalloc = true ;
367
360
config. backtrace = true ;
368
361
config. rust_optimize = true ;
369
362
config. rust_optimize_tests = true ;
@@ -499,7 +492,6 @@ impl Config {
499
492
let mut debuginfo_only_std = None ;
500
493
let mut debuginfo_tools = None ;
501
494
let mut debug = None ;
502
- let mut debug_jemalloc = None ;
503
495
let mut debuginfo = None ;
504
496
let mut debug_assertions = None ;
505
497
let mut optimize = None ;
@@ -541,12 +533,10 @@ impl Config {
541
533
debuginfo_tools = rust. debuginfo_tools ;
542
534
optimize = rust. optimize ;
543
535
ignore_git = rust. ignore_git ;
544
- debug_jemalloc = rust. debug_jemalloc ;
545
536
set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
546
537
set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
547
538
set ( & mut config. codegen_tests , rust. codegen_tests ) ;
548
539
set ( & mut config. rust_rpath , rust. rpath ) ;
549
- set ( & mut config. use_jemalloc , rust. use_jemalloc ) ;
550
540
set ( & mut config. backtrace , rust. backtrace ) ;
551
541
set ( & mut config. channel , rust. channel . clone ( ) ) ;
552
542
set ( & mut config. rust_dist_src , rust. dist_src ) ;
@@ -596,9 +586,6 @@ impl Config {
596
586
if let Some ( ref s) = cfg. llvm_filecheck {
597
587
target. llvm_filecheck = Some ( config. src . join ( s) ) ;
598
588
}
599
- if let Some ( ref s) = cfg. jemalloc {
600
- target. jemalloc = Some ( config. src . join ( s) ) ;
601
- }
602
589
if let Some ( ref s) = cfg. android_ndk {
603
590
target. ndk = Some ( config. src . join ( s) ) ;
604
591
}
@@ -644,7 +631,6 @@ impl Config {
644
631
config. rust_debuginfo_tools = debuginfo_tools. unwrap_or ( false ) ;
645
632
646
633
let default = debug == Some ( true ) ;
647
- config. debug_jemalloc = debug_jemalloc. unwrap_or ( default) ;
648
634
config. rust_debuginfo = debuginfo. unwrap_or ( default) ;
649
635
config. rust_debug_assertions = debug_assertions. unwrap_or ( default) ;
650
636
0 commit comments