@@ -308,10 +308,7 @@ s! {
308
308
pub ai_next: * mut addrinfo,
309
309
}
310
310
311
- #[ deprecated(
312
- since = "0.2.55" ,
313
- note = "Use the `mach2` crate instead" ,
314
- ) ]
311
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
315
312
pub struct mach_timebase_info {
316
313
pub numer: u32 ,
317
314
pub denom: u32 ,
@@ -671,10 +668,7 @@ s! {
671
668
pub cr_groups: [ :: gid_t; 16 ]
672
669
}
673
670
674
- #[ deprecated(
675
- since = "0.2.55" ,
676
- note = "Use the `mach2` crate instead" ,
677
- ) ]
671
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
678
672
pub struct mach_header {
679
673
pub magic: u32 ,
680
674
pub cputype: cpu_type_t,
@@ -685,10 +679,7 @@ s! {
685
679
pub flags: u32 ,
686
680
}
687
681
688
- #[ deprecated(
689
- since = "0.2.55" ,
690
- note = "Use the `mach2` crate instead" ,
691
- ) ]
682
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
692
683
pub struct mach_header_64 {
693
684
pub magic: u32 ,
694
685
pub cputype: cpu_type_t,
@@ -5953,7 +5944,9 @@ extern "C" {
5953
5944
#[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5954
5945
#[ allow( deprecated) ]
5955
5946
pub fn mach_timebase_info ( info : * mut :: mach_timebase_info ) -> :: c_int ;
5947
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5956
5948
pub fn mach_host_self ( ) -> mach_port_t ;
5949
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5957
5950
pub fn mach_thread_self ( ) -> mach_port_t ;
5958
5951
pub fn pthread_once (
5959
5952
once_control : * mut :: pthread_once_t ,
@@ -6612,6 +6605,8 @@ extern "C" {
6612
6605
pub fn CCRandomGenerateBytes ( bytes : * mut :: c_void , size : :: size_t ) -> :: CCRNGStatus ;
6613
6606
pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
6614
6607
6608
+ // FIXME(1.0): should this actually be deprecated?
6609
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
6615
6610
pub fn _NSGetExecutablePath ( buf : * mut :: c_char , bufsize : * mut u32 ) -> :: c_int ;
6616
6611
6617
6612
// crt_externs.h
@@ -6620,6 +6615,7 @@ extern "C" {
6620
6615
pub fn _NSGetEnviron ( ) -> * mut * mut * mut :: c_char ;
6621
6616
pub fn _NSGetProgname ( ) -> * mut * mut :: c_char ;
6622
6617
6618
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
6623
6619
pub fn mach_vm_map (
6624
6620
target_task : :: vm_map_t ,
6625
6621
address : * mut :: mach_vm_address_t ,
0 commit comments