diff options
| author | 王宇逸 <Strawberry_Str@hotmail.com> | 2025-04-22 16:16:23 +0800 | 
|---|---|---|
| committer | 王宇逸 <Strawberry_Str@hotmail.com> | 2025-05-15 23:34:11 +0800 | 
| commit | 49553be30784711d7dc6976ef1335b74df7cbe44 (patch) | |
| tree | 4a507fb5e6dcd0c847672e2ed87c4375fe060ece /compiler/rustc_llvm/build.rs | |
| parent | d163a28381c297a56417d4a5dfe88c6c65429265 (diff) | |
| download | rust-49553be30784711d7dc6976ef1335b74df7cbe44.tar.gz rust-49553be30784711d7dc6976ef1335b74df7cbe44.zip | |
Experimental cygwin support in rustc
Co-authored-by: Ookiineko <chiisaineko@protonmail.com>
Diffstat (limited to 'compiler/rustc_llvm/build.rs')
| -rw-r--r-- | compiler/rustc_llvm/build.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/compiler/rustc_llvm/build.rs b/compiler/rustc_llvm/build.rs index 6692ea73540..a662694ac38 100644 --- a/compiler/rustc_llvm/build.rs +++ b/compiler/rustc_llvm/build.rs @@ -255,6 +255,7 @@ fn main() { } else if target.contains("haiku") || target.contains("darwin") || (is_crossed && (target.contains("dragonfly") || target.contains("solaris"))) + || target.contains("cygwin") { println!("cargo:rustc-link-lib=z"); } else if target.contains("netbsd") { | 
