Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: Make AsFd compatible with Rust 1.63
The std::os::fd module is only available with Rust 1.66, but before that and starting with Rust 1.63, only the std::os::unix::io module is available. Fixes #25 Fixes: da8b417 ("fs: Use OwnedFd and AsFd instead of AsRawFd") Signed-off-by: Mickaël Salaün <mic@digikod.net>
- Loading branch information