Skip to content

Breaking change in nix 0.26.3 due to bitflags upgrade #2112

@ogoffart

Description

@ogoffart

In nix 0.26.3, the bitflags crate was updated which is technically a breaking change.
For example, the function nix::fcntl::OFlag::from_bits_unchecked no longer exist.

(Note: while we were using that function in our project, we're going to port to 0.27 anyway so we're not going to be impacted by this change, but i just wanted to report the issue just in case you think this is worth fixing. I can suggest either reverting the change, or add the missing functions in libc_bitflags macro. )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions