File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2085,6 +2085,7 @@ fn test_linux(target: &str) {
20852085 let x86_32 = target. contains ( "i686" ) ;
20862086 let x86_64 = target. contains ( "x86_64" ) ;
20872087 let aarch64_musl = target. contains ( "aarch64" ) && musl;
2088+ let gnuabihf = target. contains ( "gnueabihf" ) ;
20882089
20892090 let mut cfg = ctest_cfg ( ) ;
20902091 cfg. define ( "_GNU_SOURCE" , None ) ;
@@ -2182,7 +2183,9 @@ fn test_linux(target: &str) {
21822183 "errno.h" ,
21832184 // `sys/io.h` is only available on x86*, Alpha, IA64, and 32-bit
21842185 // ARM: https://bugzilla.redhat.com/show_bug.cgi?id=1116162
2185- [ x86_64 || x86_32 || arm] : "sys/io.h" ,
2186+ // Also unavailable on gnuabihf with glibc 2.30.
2187+ // https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=6b33f373c7b9199e00ba5fbafd94ac9bfb4337b1
2188+ [ ( x86_64 || x86_32 || arm) && !gnuabihf] : "sys/io.h" ,
21862189 // `sys/reg.h` is only available on x86 and x86_64
21872190 [ x86_64 || x86_32] : "sys/reg.h" ,
21882191 // sysctl system call is deprecated and not available on musl
You can’t perform that action at this time.
0 commit comments