Skip to content

Remove redundant Redox cfg attributes #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Remove redundant Redox cfg attributes #60

merged 1 commit into from
Feb 5, 2025

Conversation

Soroushsrd
Copy link
Contributor

Changes:

  • Changed #[cfg(any(target_os = "redox", unix))] to #[cfg(unix)]
  • Changed #[cfg(not(any(target_os = "redox", unix, windows)))] to #[cfg(not(any(unix, windows)))]

This simplifies the cfg attributes by removing redundant Redox checks, since Redox has been part of the Unix family since 2019.

Fixes #58

Redox has been part of the Unix family since 2019, so we can simplify
the cfg attributes by removing the explicit Redox checks.

Fixes #58
@BurntSushi BurntSushi merged commit 515331d into BurntSushi:master Feb 5, 2025
@Soroushsrd Soroushsrd deleted the redox-unix-cfg branch February 5, 2025 12:13
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.

Redox is unix-family
2 participants