Skip to content

Conversation

@SteveLauC
Copy link
Member

What does this PR do

Apply the cfg aliases for:

  • fcntl.rs
  • features.rs
  • ifaddrs.rs
  • lib.rs
  • poll.rs
  • scehed.rs
  • time.rs

Ref: #2188

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

src/features.rs Outdated
#[cfg(any(
target_os = "dragonfly", // Since ???
target_os = "freebsd", // Since 10.0
freebsdlike, // FreeBSD since ??? DragonFlyBSD since 10.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
freebsdlike, // FreeBSD since ??? DragonFlyBSD since 10.0
freebsdlike, // FreeBSD since 10.0 DragonFlyBSD since ???

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for catching it, done

@SteveLauC
Copy link
Member Author

I have given this PR a check, the changes are ok, let me merge this so that I can clear the cfg for netbsdlike

@SteveLauC SteveLauC added this pull request to the merge queue Nov 27, 2023
Merged via the queue into nix-rust:master with commit 2f810de Nov 27, 2023
@SteveLauC SteveLauC deleted the cfg_fcntl branch November 27, 2023 00:36
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.

2 participants