about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2024-03-10 07:56:13 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2024-03-17 12:46:53 +0100
commitbc5aeb14f54b76fcf5fdab80676c39a60d95d99f (patch)
treea475e6f0e6c6e46bee673efa3478e50c67e0aa0a /src/tools/compiletest
parentecdea9e9438cdb8cf707e7f60e066eda02344d05 (diff)
downloadrust-bc5aeb14f54b76fcf5fdab80676c39a60d95d99f.tar.gz
rust-bc5aeb14f54b76fcf5fdab80676c39a60d95d99f.zip
compiletest: Remove unneeded pub on get_lib_name()
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 83c595ce241..52741d7486a 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -82,7 +82,7 @@ fn disable_error_reporting<F: FnOnce() -> R, R>(f: F) -> R {
 }
 
 /// The platform-specific library name
-pub fn get_lib_name(lib: &str, dylib: bool) -> String {
+fn get_lib_name(lib: &str, dylib: bool) -> String {
     // In some casess (e.g. MUSL), we build a static
     // library, rather than a dynamic library.
     // In this case, the only path we can pass