File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1559,6 +1559,7 @@ pub const RLIMIT_MSGQUEUE: ::c_int = 12;
15591559pub const RLIMIT_NICE : :: c_int = 13 ;
15601560pub const RLIMIT_RTPRIO : :: c_int = 14 ;
15611561
1562+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
15621563pub const RLIM_NLIMITS : :: c_int = 16 ;
15631564pub const RLIM_INFINITY : :: rlim_t = !0 ;
15641565
Original file line number Diff line number Diff line change @@ -277,16 +277,19 @@ cfg_if! {
277277 pub const RLIMIT_NICE : :: c_int = 13 ;
278278 pub const RLIMIT_RTPRIO : :: c_int = 14 ;
279279 pub const RLIMIT_RTTIME : :: c_int = 15 ;
280+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
280281 pub const RLIM_NLIMITS : :: c_int = 15 ;
281282 pub const RLIMIT_NLIMITS : :: c_int = RLIM_NLIMITS ;
282283 }
283284}
284285
285286cfg_if ! {
286287 if #[ cfg( target_env = "gnu" ) ] {
288+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
287289 pub const RLIM_NLIMITS : :: __rlimit_resource_t = 16 ;
288290 }
289291 else if #[ cfg( target_env = "uclibc" ) ] {
292+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
290293 pub const RLIM_NLIMITS : :: __rlimit_resource_t = 15 ;
291294 }
292295}
You can’t perform that action at this time.
0 commit comments