Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/bootstrap/src/core/builder/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ impl Cargo {
// Do not enable Zlib compression on:
// - Windows, because MSVC/PDB doesn't support it
// - macOS, because its linker doesn't know the flag
if !self.target.is_windows() && !self.target.is_apple() {
// - Cygwin, because its linker may not support the flag
if !self.target.is_windows() && !self.target.is_apple() && !self.target.is_cygwin()
{
// If we link through cc, we need the -Wl prefix.
// If we don't, then we must not add it, because the linker wouldn't
// understand it.
Expand Down
Loading