about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2024-03-10 07:56:56 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2024-03-19 16:36:24 +0100
commit9de09218523f6fef45d3029d58acfc26d0cc0672 (patch)
treee13721e120d04ece7af0f4c2de2720280c80d745
parentbc5aeb14f54b76fcf5fdab80676c39a60d95d99f (diff)
downloadrust-9de09218523f6fef45d3029d58acfc26d0cc0672.tar.gz
rust-9de09218523f6fef45d3029d58acfc26d0cc0672.zip
compiletest: Fix typos in get_lib_name() comment
-rw-r--r--src/tools/compiletest/src/runtest.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 52741d7486a..c4a918dc508 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -83,10 +83,10 @@ fn disable_error_reporting<F: FnOnce() -> R, R>(f: F) -> R {
 
 /// The platform-specific library name
 fn get_lib_name(lib: &str, dylib: bool) -> String {
-    // In some casess (e.g. MUSL), we build a static
+    // In some cases (e.g. MUSL), we build a static
     // library, rather than a dynamic library.
     // In this case, the only path we can pass
-    // with '--extern-meta' is the '.lib' file
+    // with '--extern-meta' is the '.rlib' file
     if !dylib {
         return format!("lib{}.rlib", lib);
     }