Skip to content

Conversation

@SteveLauC
Copy link
Member

What does this PR do

Apply the netbsdlike for src/*.rs, this should be the last PR of #2188, closes #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

target_os = "netbsd",
target_os = "openbsd",
))]
#[cfg(any(target_os = "freebsd", apple_targets, netbsdlike))]
Copy link
Member

Choose a reason for hiding this comment

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

A quick search of libc shows that dragonfly supports this, so it could be marked #[cfg(bsd)]. But that's not the purpose of this PR. Same for Ipv4RecvDstAddr.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will handle them in a separate PR.

@SteveLauC SteveLauC added this pull request to the merge queue Dec 1, 2023
Merged via the queue into nix-rust:master with commit 83dfd90 Dec 1, 2023
@SteveLauC SteveLauC deleted the cfg_netbsdlike branch December 1, 2023 00:39
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.

Tracking Issue: Replace big cfg! chunks with shorter aliases

2 participants