@@ -50,64 +50,64 @@ fn main() -> rustix::io::Result<()> {
50
50
println ! ( "Stack Limit: {:?}" , getrlimit( Resource :: Stack ) ) ;
51
51
#[ cfg( not( target_os = "haiku" ) ) ]
52
52
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 " ) ) ) ]
54
54
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 " ) ) ) ]
56
56
println ! ( "Nproc Limit: {:?}" , getrlimit( Resource :: Nproc ) ) ;
57
57
#[ cfg( not( target_os = "solaris" ) ) ]
58
58
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 " ) ) ) ]
60
60
println ! ( "Memlock Limit: {:?}" , getrlimit( Resource :: Memlock ) ) ;
61
61
#[ cfg( not( target_os = "openbsd" ) ) ]
62
62
println ! ( "As Limit: {:?}" , getrlimit( Resource :: As ) ) ;
63
63
#[ cfg( not( any(
64
64
bsd,
65
65
solarish,
66
66
target_os = "aix" ,
67
- target_os = "haiku" ,
68
67
target_os = "cygwin" ,
68
+ target_os = "haiku" ,
69
69
) ) ) ]
70
70
println ! ( "Locks Limit: {:?}" , getrlimit( Resource :: Locks ) ) ;
71
71
#[ cfg( not( any(
72
72
bsd,
73
73
solarish,
74
74
target_os = "aix" ,
75
- target_os = "haiku" ,
76
75
target_os = "cygwin" ,
76
+ target_os = "haiku" ,
77
77
) ) ) ]
78
78
println ! ( "Sigpending Limit: {:?}" , getrlimit( Resource :: Sigpending ) ) ;
79
79
#[ cfg( not( any(
80
80
bsd,
81
81
solarish,
82
82
target_os = "aix" ,
83
- target_os = "haiku" ,
84
83
target_os = "cygwin" ,
84
+ target_os = "haiku" ,
85
85
) ) ) ]
86
86
println ! ( "Msgqueue Limit: {:?}" , getrlimit( Resource :: Msgqueue ) ) ;
87
87
#[ cfg( not( any(
88
88
bsd,
89
89
solarish,
90
90
target_os = "aix" ,
91
- target_os = "haiku" ,
92
91
target_os = "cygwin" ,
92
+ target_os = "haiku" ,
93
93
) ) ) ]
94
94
println ! ( "Nice Limit: {:?}" , getrlimit( Resource :: Nice ) ) ;
95
95
#[ cfg( not( any(
96
96
bsd,
97
97
solarish,
98
98
target_os = "aix" ,
99
- target_os = "haiku" ,
100
99
target_os = "cygwin" ,
100
+ target_os = "haiku" ,
101
101
) ) ) ]
102
102
println ! ( "Rtprio Limit: {:?}" , getrlimit( Resource :: Rtprio ) ) ;
103
103
#[ cfg( not( any(
104
104
bsd,
105
105
solarish,
106
106
target_os = "aix" ,
107
107
target_os = "android" ,
108
+ target_os = "cygwin" ,
108
109
target_os = "emscripten" ,
109
110
target_os = "haiku" ,
110
- target_os = "cygwin" ,
111
111
) ) ) ]
112
112
println ! ( "Rttime Limit: {:?}" , getrlimit( Resource :: Rttime ) ) ;
113
113
}
0 commit comments