mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
it's also compiler-rt.lib on windows-gnu
This commit is contained in:
committed by
Alex Crichton
parent
e5d0bb12ec
commit
521ffe9dbe
@@ -23,7 +23,7 @@
|
||||
|
||||
/// Returns the `name` as the filename of a static library for `target`.
|
||||
pub fn staticlib(name: &str, target: &str) -> String {
|
||||
if target.contains("windows-msvc") {
|
||||
if target.contains("windows") {
|
||||
format!("{}.lib", name)
|
||||
} else {
|
||||
format!("lib{}.a", name)
|
||||
|
||||
Reference in New Issue
Block a user