Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reexport nix::Errno #108

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Reexport nix::Errno #108

merged 2 commits into from
Oct 22, 2024

Commits on Oct 19, 2024

  1. Reexport nix

    This is useful because the Error enum in its ApiError error variant exports that type, so in order to match on the error value it's necessary to use the same version of `nix` as this crate uses.
    
    The idiom in this case is to reexport `nix` (or reexporting `Errno` would likely be fine as well, but I'm not sure if `nix` leaks in other ways maybe so I propose exporting the entire `nix` to be sure that it's correct.)
    Ten0 committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    0947e3c View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. Reexport only Errno

    Ten0 committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    25fa4be View commit details
    Browse the repository at this point in the history