Skip to content

Commit fd0f367

Browse files
committed
Remove tracking of libtest
It is only shared as a rlib.
1 parent 7658080 commit fd0f367

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

collector/src/bin/collector.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,6 @@ async fn record_toolchain_sizes(
22862286
record(conn, aid, "cargo", Some(&paths.cargo)).await;
22872287
record(conn, aid, "librustc_driver", paths.lib_rustc.as_deref()).await;
22882288
record(conn, aid, "libstd", paths.lib_std.as_deref()).await;
2289-
record(conn, aid, "libtest", paths.lib_test.as_deref()).await;
22902289
record(conn, aid, "libLLVM", paths.lib_llvm.as_deref()).await;
22912290
}
22922291

collector/src/toolchain.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)