File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -2663,7 +2663,7 @@ fn test_linux(target: &str) {
26632663 // support, we except them from the tests here.
26642664 // See https://github.com/rust-lang/libc/pull/2019#issuecomment-754351482
26652665 "EPOLLEXCLUSIVE" | "EPOLLWAKEUP" if uclibc => true ,
2666-
2666+
26672667 // FIXME: Requires recent kernel headers (5.8):
26682668 "STATX_MNT_ID" => true ,
26692669
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ pub const LC_ALL: ::c_int = 6;
147147// end different section
148148
149149// MS_ flags for mount(2)
150- pub const MS_RMT_MASK : :: c_ulong = :: MS_RDONLY | :: MS_SYNCHRONOUS |
151- :: MS_MANDLOCK | :: MS_I_VERSION ;
150+ pub const MS_RMT_MASK : :: c_ulong =
151+ :: MS_RDONLY | :: MS_SYNCHRONOUS | :: MS_MANDLOCK | :: MS_I_VERSION ;
152152
153153pub const ENOTSUP : :: c_int = EOPNOTSUPP ;
154154
Original file line number Diff line number Diff line change @@ -623,18 +623,24 @@ extern "C" {
623623 ...
624624 ) -> :: c_int ;
625625 pub fn sprintf ( s : * mut :: c_char , format : * const :: c_char , ...) -> :: c_int ;
626- #[ cfg_attr( all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
627- link_name = "__isoc99_fscanf" ) ]
626+ #[ cfg_attr(
627+ all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
628+ link_name = "__isoc99_fscanf"
629+ ) ]
628630 pub fn fscanf (
629631 stream : * mut :: FILE ,
630632 format : * const :: c_char ,
631633 ...
632634 ) -> :: c_int ;
633- #[ cfg_attr( all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
634- link_name = "__isoc99_scanf" ) ]
635+ #[ cfg_attr(
636+ all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
637+ link_name = "__isoc99_scanf"
638+ ) ]
635639 pub fn scanf ( format : * const :: c_char , ...) -> :: c_int ;
636- #[ cfg_attr( all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
637- link_name = "__isoc99_sscanf" ) ]
640+ #[ cfg_attr(
641+ all( target_os = "linux" , not( target_env = "uclibc" ) ) ,
642+ link_name = "__isoc99_sscanf"
643+ ) ]
638644 pub fn sscanf ( s : * const :: c_char , format : * const :: c_char , ...)
639645 -> :: c_int ;
640646 pub fn getchar_unlocked ( ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments