Skip to content

Add api to get inner WatchDescriptor id, to work with c code.#2718

Merged
SteveLauC merged 3 commits intonix-rust:masterfrom
navneetankur:push
Jan 27, 2026
Merged

Add api to get inner WatchDescriptor id, to work with c code.#2718
SteveLauC merged 3 commits intonix-rust:masterfrom
navneetankur:push

Conversation

@navneetankur
Copy link
Contributor

@navneetankur navneetankur commented Dec 20, 2025

What does this PR do

Add a fn WatchDescriptor::as_raw, to get libc id.

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

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks!

@SteveLauC SteveLauC added this pull request to the merge queue Jan 27, 2026
Merged via the queue into nix-rust:master with commit 478594e Jan 27, 2026
44 checks passed
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

Comments