@@ -185,8 +185,6 @@ pub struct Config {
185185 pub print_step_rusage : bool ,
186186 pub missing_tools : bool ,
187187
188- // Fallback musl-root for all targets
189- pub musl_root : Option < PathBuf > ,
190188 pub prefix : Option < PathBuf > ,
191189 pub sysconfdir : Option < PathBuf > ,
192190 pub datadir : Option < PathBuf > ,
@@ -402,8 +400,6 @@ pub struct Target {
402400 pub sanitizers : Option < bool > ,
403401 pub profiler : Option < bool > ,
404402 pub crt_static : Option < bool > ,
405- pub musl_root : Option < PathBuf > ,
406- pub musl_libdir : Option < PathBuf > ,
407403 pub wasi_root : Option < PathBuf > ,
408404 pub qemu_rootfs : Option < PathBuf > ,
409405 pub no_std : bool ,
@@ -695,7 +691,6 @@ define_config! {
695691 default_linker: Option <String > = "default-linker" ,
696692 channel: Option <String > = "channel" ,
697693 description: Option <String > = "description" ,
698- musl_root: Option <String > = "musl-root" ,
699694 rpath: Option <bool > = "rpath" ,
700695 verbose_tests: Option <bool > = "verbose-tests" ,
701696 optimize_tests: Option <bool > = "optimize-tests" ,
@@ -741,8 +736,6 @@ define_config! {
741736 sanitizers: Option <bool > = "sanitizers" ,
742737 profiler: Option <bool > = "profiler" ,
743738 crt_static: Option <bool > = "crt-static" ,
744- musl_root: Option <String > = "musl-root" ,
745- musl_libdir: Option <String > = "musl-libdir" ,
746739 wasi_root: Option <String > = "wasi-root" ,
747740 qemu_rootfs: Option <String > = "qemu-rootfs" ,
748741 no_std: Option <bool > = "no-std" ,
@@ -1077,7 +1070,6 @@ impl Config {
10771070 set ( & mut config. llvm_tools_enabled , rust. llvm_tools ) ;
10781071 config. rustc_parallel = rust. parallel_compiler . unwrap_or ( false ) ;
10791072 config. rustc_default_linker = rust. default_linker ;
1080- config. musl_root = rust. musl_root . map ( PathBuf :: from) ;
10811073 config. save_toolstates = rust. save_toolstates . map ( PathBuf :: from) ;
10821074 set ( & mut config. deny_warnings , flags. deny_warnings . or ( rust. deny_warnings ) ) ;
10831075 set ( & mut config. backtrace_on_ice , rust. backtrace_on_ice ) ;
@@ -1131,8 +1123,6 @@ impl Config {
11311123 target. ranlib = cfg. ranlib . map ( PathBuf :: from) ;
11321124 target. linker = cfg. linker . map ( PathBuf :: from) ;
11331125 target. crt_static = cfg. crt_static ;
1134- target. musl_root = cfg. musl_root . map ( PathBuf :: from) ;
1135- target. musl_libdir = cfg. musl_libdir . map ( PathBuf :: from) ;
11361126 target. wasi_root = cfg. wasi_root . map ( PathBuf :: from) ;
11371127 target. qemu_rootfs = cfg. qemu_rootfs . map ( PathBuf :: from) ;
11381128 target. sanitizers = cfg. sanitizers ;
0 commit comments