Skip to content

[email protected]: use zlib-ng-compat on Linux#4987

Draft
chenrui333 wants to merge 1 commit intomainfrom
zlibng-zig-0.13
Draft

[email protected]: use zlib-ng-compat on Linux#4987
chenrui333 wants to merge 1 commit intomainfrom
zlibng-zig-0.13

Conversation

@chenrui333
Copy link
Copy Markdown
Owner

Style and audit pass locally on macOS.

Replaces uses_from_macos \"zlib\" with a Linux-only depends_on \"zlib-ng-compat\" block.

Copilot AI review requested due to automatic review settings March 9, 2026 01:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the [email protected] formula to use zlib-ng-compat on Linux instead of relying on uses_from_macos "zlib".

Changes:

  • Removed uses_from_macos "zlib" from the dependency list.
  • Added a Linux-only dependency on zlib-ng-compat.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +30 to +32
on_linux do
depends_on "zlib-ng-compat"
end
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a single Linux-only dependency, Homebrew formula style commonly prefers the inline platform qualifier (depends_on \"zlib-ng-compat\" => :linux) over an on_linux block. This reduces vertical noise and keeps the dependency list easier to scan.

Copilot uses AI. Check for mistakes.
@chenrui333 chenrui333 force-pushed the zlibng-zig-0.13 branch 2 times, most recently from c52301e to 250d046 Compare March 14, 2026 21:31
@chenrui333 chenrui333 added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Mar 14, 2026
@chenrui333 chenrui333 marked this pull request as draft March 14, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants