File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2143,6 +2143,12 @@ pub const ENOTRECOVERABLE: c_int = 104;
21432143pub const EOWNERDEAD : c_int = 105 ;
21442144pub const EQFULL : c_int = 106 ;
21452145pub const ENOTCAPABLE : c_int = 107 ;
2146+ #[ deprecated(
2147+ since = "0.2.187" ,
2148+ note = "This constant, among others often used in C for the purposes of denoting the latest \
2149+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
2150+ discussion."
2151+ ) ]
21462152pub const ELAST : c_int = 107 ;
21472153
21482154pub const EAI_AGAIN : c_int = 2 ;
Original file line number Diff line number Diff line change @@ -548,6 +548,12 @@ pub const ENOMEDIUM: c_int = 93;
548548pub const ENOTRECOVERABLE : c_int = 94 ;
549549pub const EOWNERDEAD : c_int = 95 ;
550550pub const EASYNC : c_int = 99 ;
551+ #[ deprecated(
552+ since = "0.2.187" ,
553+ note = "This constant, among others often used in C for the purposes of denoting the latest \
554+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
555+ discussion."
556+ ) ]
551557pub const ELAST : c_int = 99 ;
552558pub const RLIMIT_POSIXLOCKS : c_int = 11 ;
553559#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
Original file line number Diff line number Diff line change @@ -258,6 +258,12 @@ s! {
258258 }
259259}
260260
261+ #[ deprecated(
262+ since = "0.2.187" ,
263+ note = "This constant, among others often used in C for the purposes of denoting the latest \
264+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
265+ discussion."
266+ ) ]
261267pub const ELAST : c_int = 96 ;
262268pub const RAND_MAX : c_int = 0x7fff_fffd ;
263269pub const KI_NSPARE_PTR : usize = 6 ;
Original file line number Diff line number Diff line change @@ -304,6 +304,12 @@ s! {
304304}
305305
306306pub const RAND_MAX : c_int = 0x7fff_fffd ;
307+ #[ deprecated(
308+ since = "0.2.187" ,
309+ note = "This constant, among others often used in C for the purposes of denoting the latest \
310+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
311+ discussion."
312+ ) ]
307313pub const ELAST : c_int = 97 ;
308314
309315/// max length of devicename
Original file line number Diff line number Diff line change @@ -317,6 +317,12 @@ s! {
317317}
318318
319319pub const RAND_MAX : c_int = 0x7fff_ffff ;
320+ #[ deprecated(
321+ since = "0.2.187" ,
322+ note = "This constant, among others often used in C for the purposes of denoting the latest \
323+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
324+ discussion."
325+ ) ]
320326pub const ELAST : c_int = 97 ;
321327
322328pub const KF_TYPE_EVENTFD : c_int = 13 ;
Original file line number Diff line number Diff line change @@ -319,6 +319,12 @@ s! {
319319}
320320
321321pub const RAND_MAX : c_int = 0x7fff_ffff ;
322+ #[ deprecated(
323+ since = "0.2.187" ,
324+ note = "This constant, among others often used in C for the purposes of denoting the latest \
325+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
326+ discussion."
327+ ) ]
322328pub const ELAST : c_int = 97 ;
323329
324330pub const KF_TYPE_EVENTFD : c_int = 13 ;
Original file line number Diff line number Diff line change @@ -321,6 +321,12 @@ s! {
321321}
322322
323323pub const RAND_MAX : c_int = 0x7fff_ffff ;
324+ #[ deprecated(
325+ since = "0.2.187" ,
326+ note = "This constant, among others often used in C for the purposes of denoting the latest \
327+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
328+ discussion."
329+ ) ]
324330pub const ELAST : c_int = 97 ;
325331
326332pub const KF_TYPE_EVENTFD : c_int = 13 ;
Original file line number Diff line number Diff line change @@ -945,6 +945,12 @@ pub const EBADMSG: c_int = 92;
945945pub const ENOTRECOVERABLE : c_int = 93 ;
946946pub const EOWNERDEAD : c_int = 94 ;
947947pub const EPROTO : c_int = 95 ;
948+ #[ deprecated(
949+ since = "0.2.187" ,
950+ note = "This constant, among others often used in C for the purposes of denoting the latest \
951+ value or limit in a set of constants, has been deprecated. See #3131 for details and \
952+ discussion."
953+ ) ]
948954pub const ELAST : c_int = 95 ;
949955
950956pub const F_DUPFD_CLOEXEC : c_int = 10 ;
You can’t perform that action at this time.
0 commit comments