We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d129d commit e84a8caCopy full SHA for e84a8ca
library/std/src/sys/unix/os.rs
@@ -73,7 +73,7 @@ pub fn errno() -> i32 {
73
}
74
75
/// Sets the platform-specific value of errno
76
-#[cfg(all(not(target_os = "linux"), not(target_os = "dragonfly"), not(target_os = "vxworks")))] // needed for readdir and syscall!
+#[cfg(all(not(target_os = "linux"), not(target_os = "dragonfly")))] // needed for readdir and syscall!
77
#[allow(dead_code)] // but not all target cfgs actually end up using it
78
pub fn set_errno(e: i32) {
79
unsafe { *errno_location() = e as c_int }
0 commit comments