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;
1559
1559
pub const RLIMIT_NICE : :: c_int = 13 ;
1560
1560
pub const RLIMIT_RTPRIO : :: c_int = 14 ;
1561
1561
1562
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1562
1563
pub const RLIM_NLIMITS : :: c_int = 16 ;
1563
1564
pub const RLIM_INFINITY : :: rlim_t = !0 ;
1564
1565
Original file line number Diff line number Diff line change @@ -277,16 +277,19 @@ cfg_if! {
277
277
pub const RLIMIT_NICE : :: c_int = 13 ;
278
278
pub const RLIMIT_RTPRIO : :: c_int = 14 ;
279
279
pub const RLIMIT_RTTIME : :: c_int = 15 ;
280
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
280
281
pub const RLIM_NLIMITS : :: c_int = 15 ;
281
282
pub const RLIMIT_NLIMITS : :: c_int = RLIM_NLIMITS ;
282
283
}
283
284
}
284
285
285
286
cfg_if ! {
286
287
if #[ cfg( target_env = "gnu" ) ] {
288
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
287
289
pub const RLIM_NLIMITS : :: __rlimit_resource_t = 16 ;
288
290
}
289
291
else if #[ cfg( target_env = "uclibc" ) ] {
292
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
290
293
pub const RLIM_NLIMITS : :: __rlimit_resource_t = 15 ;
291
294
}
292
295
}
You can’t perform that action at this time.
0 commit comments