Skip to content

Tidy up the public re-exports.#1352

Merged
sunfishcode merged 2 commits intomainfrom
sunfishcode/cleanups
Feb 24, 2025
Merged

Tidy up the public re-exports.#1352
sunfishcode merged 2 commits intomainfrom
sunfishcode/cleanups

Conversation

@sunfishcode
Copy link
Copy Markdown
Member

Remove the re-exports of fcntl_getfd, fcntl_setfd, and fcntl_dupfd_cloexec from rustix::fs. They're now in rustix::io only.

And remove the re-exports of the futex Flags, OWNER_DIED, and WAITERS in the top-level rustix::thread module. They're now in rustix::thread::futex only.

Also, tidy up more comments, add a wait test, and remove the rustix_ prefix on functions that don't need to be prefixed.

Remove the re-exports of `fcntl_getfd`, `fcntl_setfd`, and
`fcntl_dupfd_cloexec` from `rustix::fs`. They're now in `rustix::io`
only.

And remove the re-exports of the futex `Flags`, `OWNER_DIED`, and
`WAITERS` in the top-level `rustix::thread` module. They're now in
`rustix::thread::futex` only.

Also, tidy up more comments, add a wait test, and remove the
`rustix_` prefix on functions that don't need to be prefixed.
@sunfishcode sunfishcode merged commit 8c06468 into main Feb 24, 2025
@sunfishcode sunfishcode deleted the sunfishcode/cleanups branch February 24, 2025 04:44
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.

1 participant