File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2731,7 +2731,10 @@ pub const POSIX_MADV_DONTNEED: ::c_int = 4;
2731
2731
2732
2732
pub const RLIM_INFINITY : :: rlim_t = !0 ;
2733
2733
pub const RLIMIT_RTTIME : :: c_int = 15 ;
2734
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
2734
2735
pub const RLIMIT_NLIMITS : :: c_int = 16 ;
2736
+ #[ allow( deprecated) ]
2737
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
2735
2738
pub const RLIM_NLIMITS : :: c_int = RLIMIT_NLIMITS ;
2736
2739
2737
2740
pub const MAP_ANONYMOUS : :: c_int = MAP_ANON ;
Original file line number Diff line number Diff line change @@ -1762,6 +1762,7 @@ pub const PRIO_USER: ::c_int = 2;
1762
1762
pub const RUSAGE_THREAD : :: c_int = 1 ;
1763
1763
pub const RLIM_SAVED_MAX : :: c_ulong = RLIM_INFINITY - 1 ;
1764
1764
pub const RLIM_SAVED_CUR : :: c_ulong = RLIM_INFINITY - 2 ;
1765
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1765
1766
pub const RLIM_NLIMITS : :: c_int = 10 ;
1766
1767
1767
1768
// sys/sched.h
Original file line number Diff line number Diff line change @@ -1334,7 +1334,10 @@ pub const POSIX_FADV_NOREUSE: ::c_int = 5;
1334
1334
pub const POSIX_MADV_DONTNEED : :: c_int = 0 ;
1335
1335
1336
1336
pub const RLIM_INFINITY : :: rlim_t = !0 ;
1337
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1337
1338
pub const RLIMIT_NLIMITS : :: c_int = 15 ;
1339
+ #[ allow( deprecated) ]
1340
+ #[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
1338
1341
pub const RLIM_NLIMITS : :: c_int = RLIMIT_NLIMITS ;
1339
1342
1340
1343
pub const MAP_ANONYMOUS : :: c_int = MAP_ANON ;
You can’t perform that action at this time.
0 commit comments