Skip to content

Conversation

chenxiaolong
Copy link

@chenxiaolong chenxiaolong commented Sep 19, 2025

What does this PR do

This exposes Whence::SeekData and Whence::SeekHole on Android. These have been supported in Android itself and in the libc crate for several years.

This is the libc commit that added SEEK_DATA and SEEK_HOLE to their tests on Android: rust-lang/libc@aa1c8ea

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
    • I don't think any changes are needed
  • A change log has been added if this PR modifies nix's API
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant