1414use  libc:: MSG_NOSIGNAL ; 
1515
1616use  super :: { SocketAddr ,  sockaddr_un} ; 
17- #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
17+ #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
1818use  super :: { SocketAncillary ,  recv_vectored_with_ancillary_from,  send_vectored_with_ancillary_to} ; 
19- #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
19+ #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
2020use  crate :: io:: { IoSlice ,  IoSliceMut } ; 
2121use  crate :: net:: Shutdown ; 
2222use  crate :: os:: unix:: io:: { AsFd ,  AsRawFd ,  BorrowedFd ,  FromRawFd ,  IntoRawFd ,  OwnedFd ,  RawFd } ; 
@@ -397,8 +397,14 @@ impl UnixDatagram {
397397     /// 
398398     /// # Examples 
399399     /// 
400-      #[ cfg_attr( any( target_os = "android" ,  target_os = "linux" ) ,  doc = "```no_run" ) ]  
401-     #[ cfg_attr( not( any( target_os = "android" ,  target_os = "linux" ) ) ,  doc = "```ignore" ) ]  
400+      #[ cfg_attr(  
401+         any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ,  
402+         doc = "```no_run"  
403+     ) ]  
404+     #[ cfg_attr(  
405+         not( any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ) ,  
406+         doc = "```ignore"  
407+     ) ]  
402408    /// #![feature(unix_socket_ancillary_data)] 
403409     /// use std::os::unix::net::{UnixDatagram, SocketAncillary, AncillaryData}; 
404410     /// use std::io::IoSliceMut; 
@@ -428,7 +434,7 @@ impl UnixDatagram {
428434     ///     Ok(()) 
429435     /// } 
430436     /// ``` 
431-      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
437+      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
432438    #[ unstable( feature = "unix_socket_ancillary_data" ,  issue = "76915" ) ]  
433439    pub  fn  recv_vectored_with_ancillary_from ( 
434440        & self , 
@@ -447,8 +453,14 @@ impl UnixDatagram {
447453     /// 
448454     /// # Examples 
449455     /// 
450-      #[ cfg_attr( any( target_os = "android" ,  target_os = "linux" ) ,  doc = "```no_run" ) ]  
451-     #[ cfg_attr( not( any( target_os = "android" ,  target_os = "linux" ) ) ,  doc = "```ignore" ) ]  
456+      #[ cfg_attr(  
457+         any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ,  
458+         doc = "```no_run"  
459+     ) ]  
460+     #[ cfg_attr(  
461+         not( any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ) ,  
462+         doc = "```ignore"  
463+     ) ]  
452464    /// #![feature(unix_socket_ancillary_data)] 
453465     /// use std::os::unix::net::{UnixDatagram, SocketAncillary, AncillaryData}; 
454466     /// use std::io::IoSliceMut; 
@@ -478,7 +490,7 @@ impl UnixDatagram {
478490     ///     Ok(()) 
479491     /// } 
480492     /// ``` 
481-      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
493+      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
482494    #[ unstable( feature = "unix_socket_ancillary_data" ,  issue = "76915" ) ]  
483495    pub  fn  recv_vectored_with_ancillary ( 
484496        & self , 
@@ -588,8 +600,14 @@ impl UnixDatagram {
588600     /// 
589601     /// # Examples 
590602     /// 
591-      #[ cfg_attr( any( target_os = "android" ,  target_os = "linux" ) ,  doc = "```no_run" ) ]  
592-     #[ cfg_attr( not( any( target_os = "android" ,  target_os = "linux" ) ) ,  doc = "```ignore" ) ]  
603+      #[ cfg_attr(  
604+         any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ,  
605+         doc = "```no_run"  
606+     ) ]  
607+     #[ cfg_attr(  
608+         not( any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ) ,  
609+         doc = "```ignore"  
610+     ) ]  
593611    /// #![feature(unix_socket_ancillary_data)] 
594612     /// use std::os::unix::net::{UnixDatagram, SocketAncillary}; 
595613     /// use std::io::IoSlice; 
@@ -613,7 +631,7 @@ impl UnixDatagram {
613631     ///     Ok(()) 
614632     /// } 
615633     /// ``` 
616-      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
634+      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
617635    #[ unstable( feature = "unix_socket_ancillary_data" ,  issue = "76915" ) ]  
618636    pub  fn  send_vectored_with_ancillary_to < P :  AsRef < Path > > ( 
619637        & self , 
@@ -630,8 +648,14 @@ impl UnixDatagram {
630648     /// 
631649     /// # Examples 
632650     /// 
633-      #[ cfg_attr( any( target_os = "android" ,  target_os = "linux" ) ,  doc = "```no_run" ) ]  
634-     #[ cfg_attr( not( any( target_os = "android" ,  target_os = "linux" ) ) ,  doc = "```ignore" ) ]  
651+      #[ cfg_attr(  
652+         any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ,  
653+         doc = "```no_run"  
654+     ) ]  
655+     #[ cfg_attr(  
656+         not( any( target_os = "android" ,  target_os = "linux" ,  target_os = "cygwin" ) ) ,  
657+         doc = "```ignore"  
658+     ) ]  
635659    /// #![feature(unix_socket_ancillary_data)] 
636660     /// use std::os::unix::net::{UnixDatagram, SocketAncillary}; 
637661     /// use std::io::IoSlice; 
@@ -655,7 +679,7 @@ impl UnixDatagram {
655679     ///     Ok(()) 
656680     /// } 
657681     /// ``` 
658-      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ) ) ]  
682+      #[ cfg( any( doc,  target_os = "android" ,  target_os = "linux" ,  target_os =  "cygwin" ) ) ]  
659683    #[ unstable( feature = "unix_socket_ancillary_data" ,  issue = "76915" ) ]  
660684    pub  fn  send_vectored_with_ancillary ( 
661685        & self , 
0 commit comments