File tree 3 files changed +15
-9
lines changed
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) {
2663
2663
// support, we except them from the tests here.
2664
2664
// See https://github.com/rust-lang/libc/pull/2019#issuecomment-754351482
2665
2665
"EPOLLEXCLUSIVE" | "EPOLLWAKEUP" if uclibc => true ,
2666
-
2666
+
2667
2667
// FIXME: Requires recent kernel headers (5.8):
2668
2668
"STATX_MNT_ID" => true ,
2669
2669
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ pub const LC_ALL: ::c_int = 6;
147
147
// end different section
148
148
149
149
// 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 ;
152
152
153
153
pub const ENOTSUP : :: c_int = EOPNOTSUPP ;
154
154
Original file line number Diff line number Diff line change @@ -623,18 +623,24 @@ extern "C" {
623
623
...
624
624
) -> :: c_int ;
625
625
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
+ ) ]
628
630
pub fn fscanf (
629
631
stream : * mut :: FILE ,
630
632
format : * const :: c_char ,
631
633
...
632
634
) -> :: 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
+ ) ]
635
639
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
+ ) ]
638
644
pub fn sscanf ( s : * const :: c_char , format : * const :: c_char , ...)
639
645
-> :: c_int ;
640
646
pub fn getchar_unlocked ( ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments