warning: use of deprecated constant `libc::ENOATTR`: ENOATTR is not available on Linux; use ENODATA instead
--> src/catfs/file.rs:274:61
|
274 | if my_errno != libc::ENODATA && my_errno != libc::ENOATTR {
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
The newer libc warns:
I added this to handle macOS behavior. Some context: https://github.com/rust-lang/libc/issues/1356#issuecomment-494827003