@@ -199,8 +199,6 @@ pub struct Config {
199199 pub print_step_rusage : bool ,
200200 pub missing_tools : bool ,
201201
202- // Fallback musl-root for all targets
203- pub musl_root : Option < PathBuf > ,
204202 pub prefix : Option < PathBuf > ,
205203 pub sysconfdir : Option < PathBuf > ,
206204 pub datadir : Option < PathBuf > ,
@@ -440,8 +438,6 @@ pub struct Target {
440438 pub sanitizers : Option < bool > ,
441439 pub profiler : Option < bool > ,
442440 pub crt_static : Option < bool > ,
443- pub musl_root : Option < PathBuf > ,
444- pub musl_libdir : Option < PathBuf > ,
445441 pub wasi_root : Option < PathBuf > ,
446442 pub qemu_rootfs : Option < PathBuf > ,
447443 pub no_std : bool ,
@@ -734,7 +730,6 @@ define_config! {
734730 default_linker: Option <String > = "default-linker" ,
735731 channel: Option <String > = "channel" ,
736732 description: Option <String > = "description" ,
737- musl_root: Option <String > = "musl-root" ,
738733 rpath: Option <bool > = "rpath" ,
739734 verbose_tests: Option <bool > = "verbose-tests" ,
740735 optimize_tests: Option <bool > = "optimize-tests" ,
@@ -781,8 +776,6 @@ define_config! {
781776 sanitizers: Option <bool > = "sanitizers" ,
782777 profiler: Option <bool > = "profiler" ,
783778 crt_static: Option <bool > = "crt-static" ,
784- musl_root: Option <String > = "musl-root" ,
785- musl_libdir: Option <String > = "musl-libdir" ,
786779 wasi_root: Option <String > = "wasi-root" ,
787780 qemu_rootfs: Option <String > = "qemu-rootfs" ,
788781 no_std: Option <bool > = "no-std" ,
@@ -1187,7 +1180,6 @@ impl Config {
11871180 set ( & mut config. llvm_tools_enabled , rust. llvm_tools ) ;
11881181 config. rustc_parallel = rust. parallel_compiler . unwrap_or ( false ) ;
11891182 config. rustc_default_linker = rust. default_linker ;
1190- config. musl_root = rust. musl_root . map ( PathBuf :: from) ;
11911183 config. save_toolstates = rust. save_toolstates . map ( PathBuf :: from) ;
11921184 set ( & mut config. deny_warnings , flags. deny_warnings . or ( rust. deny_warnings ) ) ;
11931185 set ( & mut config. backtrace_on_ice , rust. backtrace_on_ice ) ;
@@ -1251,8 +1243,6 @@ impl Config {
12511243 target. ranlib = cfg. ranlib . map ( PathBuf :: from) ;
12521244 target. linker = cfg. linker . map ( PathBuf :: from) ;
12531245 target. crt_static = cfg. crt_static ;
1254- target. musl_root = cfg. musl_root . map ( PathBuf :: from) ;
1255- target. musl_libdir = cfg. musl_libdir . map ( PathBuf :: from) ;
12561246 target. wasi_root = cfg. wasi_root . map ( PathBuf :: from) ;
12571247 target. qemu_rootfs = cfg. qemu_rootfs . map ( PathBuf :: from) ;
12581248 target. sanitizers = cfg. sanitizers ;
0 commit comments