@@ -123,8 +123,6 @@ pub struct Config {
123123 pub dist_gpg_password_file : Option < PathBuf > ,
124124
125125 // libstd features
126- pub debug_jemalloc : bool ,
127- pub use_jemalloc : bool ,
128126 pub backtrace : bool , // support for RUST_BACKTRACE
129127 pub wasm_syscall : bool ,
130128
@@ -166,7 +164,6 @@ pub struct Target {
166164 pub llvm_config : Option < PathBuf > ,
167165 /// Some(path to FileCheck) if one was specified.
168166 pub llvm_filecheck : Option < PathBuf > ,
169- pub jemalloc : Option < PathBuf > ,
170167 pub cc : Option < PathBuf > ,
171168 pub cxx : Option < PathBuf > ,
172169 pub ar : Option < PathBuf > ,
@@ -302,8 +299,6 @@ struct Rust {
302299 debuginfo_only_std : Option < bool > ,
303300 debuginfo_tools : Option < bool > ,
304301 experimental_parallel_queries : Option < bool > ,
305- debug_jemalloc : Option < bool > ,
306- use_jemalloc : Option < bool > ,
307302 backtrace : Option < bool > ,
308303 default_linker : Option < String > ,
309304 channel : Option < String > ,
@@ -337,7 +332,6 @@ struct Rust {
337332struct TomlTarget {
338333 llvm_config : Option < String > ,
339334 llvm_filecheck : Option < String > ,
340- jemalloc : Option < String > ,
341335 cc : Option < String > ,
342336 cxx : Option < String > ,
343337 ar : Option < String > ,
@@ -363,7 +357,6 @@ impl Config {
363357 config. llvm_enabled = true ;
364358 config. llvm_optimize = true ;
365359 config. llvm_version_check = true ;
366- config. use_jemalloc = true ;
367360 config. backtrace = true ;
368361 config. rust_optimize = true ;
369362 config. rust_optimize_tests = true ;
@@ -499,7 +492,6 @@ impl Config {
499492 let mut debuginfo_only_std = None ;
500493 let mut debuginfo_tools = None ;
501494 let mut debug = None ;
502- let mut debug_jemalloc = None ;
503495 let mut debuginfo = None ;
504496 let mut debug_assertions = None ;
505497 let mut optimize = None ;
@@ -541,12 +533,10 @@ impl Config {
541533 debuginfo_tools = rust. debuginfo_tools ;
542534 optimize = rust. optimize ;
543535 ignore_git = rust. ignore_git ;
544- debug_jemalloc = rust. debug_jemalloc ;
545536 set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
546537 set ( & mut config. rust_debuginfo_tests , rust. debuginfo_tests ) ;
547538 set ( & mut config. codegen_tests , rust. codegen_tests ) ;
548539 set ( & mut config. rust_rpath , rust. rpath ) ;
549- set ( & mut config. use_jemalloc , rust. use_jemalloc ) ;
550540 set ( & mut config. backtrace , rust. backtrace ) ;
551541 set ( & mut config. channel , rust. channel . clone ( ) ) ;
552542 set ( & mut config. rust_dist_src , rust. dist_src ) ;
@@ -596,9 +586,6 @@ impl Config {
596586 if let Some ( ref s) = cfg. llvm_filecheck {
597587 target. llvm_filecheck = Some ( config. src . join ( s) ) ;
598588 }
599- if let Some ( ref s) = cfg. jemalloc {
600- target. jemalloc = Some ( config. src . join ( s) ) ;
601- }
602589 if let Some ( ref s) = cfg. android_ndk {
603590 target. ndk = Some ( config. src . join ( s) ) ;
604591 }
@@ -644,7 +631,6 @@ impl Config {
644631 config. rust_debuginfo_tools = debuginfo_tools. unwrap_or ( false ) ;
645632
646633 let default = debug == Some ( true ) ;
647- config. debug_jemalloc = debug_jemalloc. unwrap_or ( default) ;
648634 config. rust_debuginfo = debuginfo. unwrap_or ( default) ;
649635 config. rust_debug_assertions = debug_assertions. unwrap_or ( default) ;
650636
0 commit comments