File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2084,6 +2084,7 @@ fn test_linux(target: &str) {
2084
2084
let x86_32 = target. contains ( "i686" ) ;
2085
2085
let x86_64 = target. contains ( "x86_64" ) ;
2086
2086
let aarch64_musl = target. contains ( "aarch64" ) && musl;
2087
+ let gnuabihf = target. contains ( "gnueabihf" ) ;
2087
2088
2088
2089
let mut cfg = ctest_cfg ( ) ;
2089
2090
cfg. define ( "_GNU_SOURCE" , None ) ;
@@ -2181,7 +2182,7 @@ fn test_linux(target: &str) {
2181
2182
"errno.h" ,
2182
2183
// `sys/io.h` is only available on x86*, Alpha, IA64, and 32-bit
2183
2184
// ARM: https://bugzilla.redhat.com/show_bug.cgi?id=1116162
2184
- [ x86_64 || x86_32 || arm] : "sys/io.h" ,
2185
+ [ ( x86_64 || x86_32 || arm) && !gnuabihf ] : "sys/io.h" ,
2185
2186
// `sys/reg.h` is only available on x86 and x86_64
2186
2187
[ x86_64 || x86_32] : "sys/reg.h" ,
2187
2188
// sysctl system call is deprecated and not available on musl
You can’t perform that action at this time.
0 commit comments