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

feat: make SigAction repr(transparent)&From<raw>&Into<raw> #2326

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

SteveLauC
Copy link
Member

@SteveLauC SteveLauC commented Mar 3, 2024

What does this PR do

Make SigAction repr(transparent) & can be converted to/from the libc raw type.

This is the first PR towards the goal described in this comment, closes #2319.

I will handle the remaining ones in the future PRs.

refe: #2327

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

@SteveLauC SteveLauC requested a review from asomers March 3, 2024 11:02
@SteveLauC
Copy link
Member Author

Let's merge this!

@SteveLauC SteveLauC added this pull request to the merge queue Mar 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 16, 2024
@SteveLauC SteveLauC added this pull request to the merge queue Mar 16, 2024
Merged via the queue into nix-rust:master with commit 08e7849 Mar 16, 2024
35 checks passed
@SteveLauC SteveLauC deleted the feat/expose_libc_sigaction branch March 16, 2024 08:46
@SteveLauC SteveLauC mentioned this pull request May 7, 2024
3 tasks
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.

Support custom signals for sigaction
1 participant