Skip to content

Commit 18d1f62

Browse files
bors[bot]rtzoeller
andauthored
Merge #1635
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 rust-lang/libc#2596. Bump the libc dependency to uptake that change. Co-authored-by: Ryan Zoeller <[email protected]>
2 parents 916bbfa + 84e3c56 commit 18d1f62

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
4141
- Removed public access to the inner fields of `NetlinkAddr`, `AlgAddr`,
4242
`SysControlAddr`, `LinkAddr`, and `VsockAddr`.
4343
(#[1614](https://github.com/nix-rust/nix/pull/1614))
44+
- Removed `EventFlag::EV_SYSFLAG`.
45+
(#[1635](https://github.com/nix-rust/nix/pull/1635))
4446

4547
## [0.23.1] - 2021-12-16
4648

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ targets = [
2727
]
2828

2929
[dependencies]
30-
libc = { version = "0.2.112", features = [ "extra_traits" ] }
30+
libc = { git = "https://github.com/rust-lang/libc", rev = "e470e3b6a1f940e0024d40d3b79fc73fe29c7f17", features = [ "extra_traits" ] }
3131
bitflags = "1.1"
3232
cfg-if = "1.0"
3333

src/sys/event.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ libc_bitflags!{
114114
target_os = "ios", target_os = "macos",
115115
target_os = "netbsd", target_os = "openbsd"))]
116116
EV_RECEIPT;
117-
EV_SYSFLAGS;
118117
}
119118
}
120119

0 commit comments

Comments
 (0)