@@ -329,7 +329,6 @@ pub struct ToolchainComponents {
329329 pub cargo_configs : Vec < String > ,
330330 pub lib_rustc : Option < PathBuf > ,
331331 pub lib_std : Option < PathBuf > ,
332- pub lib_test : Option < PathBuf > ,
333332 pub lib_llvm : Option < PathBuf > ,
334333}
335334
@@ -375,8 +374,6 @@ impl ToolchainComponents {
375374 self . lib_rustc = Some ( path. clone ( ) ) ;
376375 } else if filename. starts_with ( "libstd" ) {
377376 self . lib_std = Some ( path. clone ( ) ) ;
378- } else if filename. starts_with ( "libtest" ) {
379- self . lib_test = Some ( path. clone ( ) ) ;
380377 }
381378 }
382379 }
@@ -699,15 +696,13 @@ mod tests {
699696 let temp_dir: tempfile:: TempDir = tempfile:: tempdir ( ) . unwrap ( ) ;
700697 let lib_rustc_path = create_temp_lib_path ( "librustc_driver.so" , & temp_dir) ;
701698 let lib_std_path = create_temp_lib_path ( "libstd.so" , & temp_dir) ;
702- let lib_test_path = create_temp_lib_path ( "libtest.so" , & temp_dir) ;
703699 let lib_new_llvm_path =
704700 create_temp_lib_path ( "libLLVM.so.18.1-rust-1.78.0-nightly" , & temp_dir) ;
705701
706702 components. fill_libraries ( temp_dir. path ( ) ) . unwrap ( ) ;
707703
708704 assert_eq ! ( components. lib_rustc, Some ( lib_rustc_path) ) ;
709705 assert_eq ! ( components. lib_std, Some ( lib_std_path) ) ;
710- assert_eq ! ( components. lib_test, Some ( lib_test_path) ) ;
711706 assert_eq ! ( components. lib_llvm, Some ( lib_new_llvm_path) ) ;
712707 }
713708
0 commit comments