@@ -50,64 +50,64 @@ fn main() -> rustix::io::Result<()> {
5050 println ! ( "Stack Limit: {:?}" , getrlimit( Resource :: Stack ) ) ;
5151 #[ cfg( not( target_os = "haiku" ) ) ]
5252 println ! ( "Core Limit: {:?}" , getrlimit( Resource :: Core ) ) ;
53- #[ cfg( not( any( solarish, target_os = "haiku " , target_os = "cygwin " ) ) ) ]
53+ #[ cfg( not( any( solarish, target_os = "cygwin " , target_os = "haiku " ) ) ) ]
5454 println ! ( "Rss Limit: {:?}" , getrlimit( Resource :: Rss ) ) ;
55- #[ cfg( not( any( solarish, target_os = "haiku " , target_os = "cygwin " ) ) ) ]
55+ #[ cfg( not( any( solarish, target_os = "cygwin " , target_os = "haiku " ) ) ) ]
5656 println ! ( "Nproc Limit: {:?}" , getrlimit( Resource :: Nproc ) ) ;
5757 #[ cfg( not( target_os = "solaris" ) ) ]
5858 println ! ( "Nofile Limit: {:?}" , getrlimit( Resource :: Nofile ) ) ;
59- #[ cfg( not( any( solarish, target_os = "aix" , target_os = "haiku " , target_os = "cygwin " ) ) ) ]
59+ #[ cfg( not( any( solarish, target_os = "aix" , target_os = "cygwin " , target_os = "haiku " ) ) ) ]
6060 println ! ( "Memlock Limit: {:?}" , getrlimit( Resource :: Memlock ) ) ;
6161 #[ cfg( not( target_os = "openbsd" ) ) ]
6262 println ! ( "As Limit: {:?}" , getrlimit( Resource :: As ) ) ;
6363 #[ cfg( not( any(
6464 bsd,
6565 solarish,
6666 target_os = "aix" ,
67- target_os = "haiku" ,
6867 target_os = "cygwin" ,
68+ target_os = "haiku" ,
6969 ) ) ) ]
7070 println ! ( "Locks Limit: {:?}" , getrlimit( Resource :: Locks ) ) ;
7171 #[ cfg( not( any(
7272 bsd,
7373 solarish,
7474 target_os = "aix" ,
75- target_os = "haiku" ,
7675 target_os = "cygwin" ,
76+ target_os = "haiku" ,
7777 ) ) ) ]
7878 println ! ( "Sigpending Limit: {:?}" , getrlimit( Resource :: Sigpending ) ) ;
7979 #[ cfg( not( any(
8080 bsd,
8181 solarish,
8282 target_os = "aix" ,
83- target_os = "haiku" ,
8483 target_os = "cygwin" ,
84+ target_os = "haiku" ,
8585 ) ) ) ]
8686 println ! ( "Msgqueue Limit: {:?}" , getrlimit( Resource :: Msgqueue ) ) ;
8787 #[ cfg( not( any(
8888 bsd,
8989 solarish,
9090 target_os = "aix" ,
91- target_os = "haiku" ,
9291 target_os = "cygwin" ,
92+ target_os = "haiku" ,
9393 ) ) ) ]
9494 println ! ( "Nice Limit: {:?}" , getrlimit( Resource :: Nice ) ) ;
9595 #[ cfg( not( any(
9696 bsd,
9797 solarish,
9898 target_os = "aix" ,
99- target_os = "haiku" ,
10099 target_os = "cygwin" ,
100+ target_os = "haiku" ,
101101 ) ) ) ]
102102 println ! ( "Rtprio Limit: {:?}" , getrlimit( Resource :: Rtprio ) ) ;
103103 #[ cfg( not( any(
104104 bsd,
105105 solarish,
106106 target_os = "aix" ,
107107 target_os = "android" ,
108+ target_os = "cygwin" ,
108109 target_os = "emscripten" ,
109110 target_os = "haiku" ,
110- target_os = "cygwin" ,
111111 ) ) ) ]
112112 println ! ( "Rttime Limit: {:?}" , getrlimit( Resource :: Rttime ) ) ;
113113 }
0 commit comments