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

enable unistd::{sync, syncfs} on Android #2296

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

tertsdiepraam
Copy link
Contributor

What does this PR do

unistd::{sync, syncfs} were not implemented on Android, even though they are available in libc:

I'm not sure if it makes a difference, but especially sync was added fairly recently (9 months ago in rust-lang/libc@0ba1fc4).

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
Copy link
Member

Hi, thanks for the contribution, changes look good, though a changelog is needed:

// changelog/2296.added.md
Enable unistd::{sync, syncfs} for Android

@tertsdiepraam
Copy link
Contributor Author

Ahhh that's how that works. Thanks!

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 17, 2024
Merged via the queue into nix-rust:master with commit df7e56a Jan 17, 2024
35 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