mirror of https://github.com/rust-lang/rust.git
compiletest: Fix typos in get_lib_name() comment
This commit is contained in:
parent
bc5aeb14f5
commit
9de0921852
|
@ -83,10 +83,10 @@ fn disable_error_reporting<F: FnOnce() -> R, R>(f: F) -> R {
|
||||||
|
|
||||||
/// The platform-specific library name
|
/// The platform-specific library name
|
||||||
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
|
// In some cases (e.g. MUSL), we build a static
|
||||||
// library, rather than a dynamic library.
|
// library, rather than a dynamic library.
|
||||||
// In this case, the only path we can pass
|
// 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 {
|
if !dylib {
|
||||||
return format!("lib{}.rlib", lib);
|
return format!("lib{}.rlib", lib);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue