Skip to content

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