Skip to content
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

refactor: apply the netbsdlike alias for src/* #2231

Merged
merged 2 commits into from
Dec 1, 2023

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
34 checks passed
@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