Skip to content

fix: gate info_log import behind #[cfg(unix)] to fix Windows build - #2837

Merged
oferchen merged 1 commit into
masterfrom
fix/unused-import-windows
Mar 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/unused-import-windows

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Gate info_log import behind #[cfg(unix)] in receiver/directory/links.rs
  • The macro is only used inside a #[cfg(unix)] block for safe-links symlink logging
  • Fixes unused-import compilation error on Windows (-D warnings)

Test plan

  • Windows CI passes (was failing with unused import: info_log)
  • Linux/macOS CI unaffected

The info_log macro is only used inside a #[cfg(unix)] block for
safe-links symlink logging, causing unused-import errors on Windows.
@oferchen
oferchen merged commit 58e660d into master Mar 21, 2026
16 of 31 checks passed
@oferchen
oferchen deleted the fix/unused-import-windows branch March 21, 2026 10:07
@github-actions github-actions Bot added the bug Something isn't working label Mar 21, 2026
oferchen added a commit that referenced this pull request May 1, 2026
…2837)

The info_log macro is only used inside a #[cfg(unix)] block for
safe-links symlink logging, causing unused-import errors on Windows.
oferchen added a commit that referenced this pull request May 5, 2026
…2837)

The info_log macro is only used inside a #[cfg(unix)] block for
safe-links symlink logging, causing unused-import errors on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant