Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
i32
in SystemError::Unknown
instead of nix
Errno
This way users of `drm` can match on constants from `libc`, or can convert it to the error types from any version of `nix` or `rustix`. This addresses a bit of awkwardness in Smithay/smithay#1162 and rust-windowing/softbuffer#164. This should eliminate nix as a "public dependency" of `drm`, though it's still exposed by `drm-ffi`.
- Loading branch information