1635: Remove EventFlag::EV_SYSFLAG r=rtzoeller a=rtzoeller

It is not stable across OpenBSD versions and is reserved by the system on FreeBSD and NetBSD.

This should fix the nix build for OpenBSD, which is failing due to https://github.com/rust-lang/libc/pull/2596. Bump the libc dependency to uptake that change.

Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
This commit is contained in:
bors[bot] 2022-01-18 22:26:20 +00:00 committed by GitHub
commit 18d1f62b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Removed public access to the inner fields of `NetlinkAddr`, `AlgAddr`,
`SysControlAddr`, `LinkAddr`, and `VsockAddr`.
(#[1614](https://github.com/nix-rust/nix/pull/1614))
- Removed `EventFlag::EV_SYSFLAG`.
(#[1635](https://github.com/nix-rust/nix/pull/1635))
## [0.23.1] - 2021-12-16

View File

@ -27,7 +27,7 @@ targets = [
]
[dependencies]
libc = { version = "0.2.112", features = [ "extra_traits" ] }
libc = { git = "https://github.com/rust-lang/libc", rev = "e470e3b6a1f940e0024d40d3b79fc73fe29c7f17", features = [ "extra_traits" ] }
bitflags = "1.1"
cfg-if = "1.0"

View File

@ -114,7 +114,6 @@ libc_bitflags!{
target_os = "ios", target_os = "macos",
target_os = "netbsd", target_os = "openbsd"))]
EV_RECEIPT;
EV_SYSFLAGS;
}
}