mirror of
https://github.com/openharmony/third_party_rust_rustix.git
synced 2026-07-21 02:05:28 -04:00
c7146a721e
Move `fcntl_getfd`, `fcntl_setfd`, and `fcntl_dupfd_cloexec` out of the `fs` module and into the `io` module, since they're not specific to files, directories or memfd. This allows them to be used with the "fs" feature is not enabled. Also, add public aliases for then in `fs`, for compatibility, and to have a place where all `fcntl` function are present. And add a CI check for --no-default-features with no API features. Fixes #453.