Skip to content

Commit 4558339

Browse files
joshtripletttgross35
authored andcommitted
Require rust >= 1.40 and drop libc_non_exhaustive conditional
[ resolve conflicts - Trevor ] (apply <#4060> to `main`) (cherry picked from commit d00d1de)
1 parent c754031 commit 4558339

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

src/unix/linux_like/linux/mod.rs

+8-3
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,14 @@ s! {
821821
pub val: ::c_int,
822822
}
823823

824+
// linux/openat2.h
825+
#[non_exhaustive]
826+
pub struct open_how {
827+
pub flags: ::__u64,
828+
pub mode: ::__u64,
829+
pub resolve: ::__u64,
830+
}
831+
824832
// linux/sctp.h
825833

826834
pub struct sctp_initmsg {
@@ -6461,6 +6469,3 @@ cfg_if! {
64616469

64626470
mod arch;
64636471
pub use self::arch::*;
6464-
6465-
mod non_exhaustive;
6466-
pub use self::non_exhaustive::*;

src/unix/linux_like/linux/non_exhaustive.rs

-9
This file was deleted.

0 commit comments

Comments
 (0)