Skip to content

Commit 9de0921

Browse files
committed
compiletest: Fix typos in get_lib_name() comment
1 parent bc5aeb1 commit 9de0921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/compiletest/src/runtest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ fn disable_error_reporting<F: FnOnce() -> R, R>(f: F) -> R {
8383

8484
/// The platform-specific library name
8585
fn get_lib_name(lib: &str, dylib: bool) -> String {
86-
// In some casess (e.g. MUSL), we build a static
86+
// In some cases (e.g. MUSL), we build a static
8787
// library, rather than a dynamic library.
8888
// In this case, the only path we can pass
89-
// with '--extern-meta' is the '.lib' file
89+
// with '--extern-meta' is the '.rlib' file
9090
if !dylib {
9191
return format!("lib{}.rlib", lib);
9292
}

0 commit comments

Comments
 (0)