We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57169b8 commit 334e826Copy full SHA for 334e826
src/errno.rs
@@ -2059,15 +2059,13 @@ mod test {
2059
ENOTRECOVERABLE);
2060
}
2061
2062
- // This test fails because MIPS does not have
2063
- // ERFKILL or EHWPOISON.
2064
- // #[test]
2065
- // #[cfg(target_os = "linux")]
2066
- // pub fn test_linux_not_android_errnos() {
2067
- // check_errno!(
2068
- // ERFKILL /*,
2069
- // EHWPOISON */);
2070
- // }
+ #[test]
+ #[cfg(all(target_os = "linux", not(target_arch = "mips")))]
+ pub fn test_linux_not_android_errnos() {
+ check_errno!(
+ ERFKILL /*,
+ EHWPOISON */);
+ }
2071
2072
#[test]
2073
#[cfg(target_os = "freebsd")]
0 commit comments