Skip to content

Fix macOS release build: restore notice imports - #76

Open
lalmei wants to merge 1 commit into
Tekunogosu:omegafrom
lalmei:fix/macos-build
Open

Fix macOS release build: restore notice imports#76
lalmei wants to merge 1 commit into
Tekunogosu:omegafrom
lalmei:fix/macos-build

Conversation

@lalmei

@lalmei lalmei commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • cargo build --release currently fails on macOS because rustique_options::mac() uses notice, Color, and Attribute, but those imports were gated with #[cfg(windows)].
  • This restores the imports for macOS (#[cfg(any(windows, target_os = "macos"))]) so the crate compiles again.
  • Verified locally with cargo build --release on macOS.

Test plan

  • cargo build --release succeeds on macOS
  • Confirm Windows still compiles (imports remain enabled there)
  • Confirm Linux still compiles (those imports stay unused/cfg'd out)

The mac() path needs Color, Attribute, and notice, but those imports were gated to Windows only.
@lalmei

lalmei commented Aug 20, 2026

Copy link
Copy Markdown
Author

@Tekunogosu not sure if your CI runs linux, and windows, was only able to test locally on Mac Os.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant