@@ -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,
@@ -5944,7 +5935,9 @@ extern "C" {
5944
5935
#[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5945
5936
#[ allow( deprecated) ]
5946
5937
pub fn mach_timebase_info ( info : * mut :: mach_timebase_info ) -> :: c_int ;
5938
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5947
5939
pub fn mach_host_self ( ) -> mach_port_t ;
5940
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
5948
5941
pub fn mach_thread_self ( ) -> mach_port_t ;
5949
5942
pub fn pthread_once (
5950
5943
once_control : * mut :: pthread_once_t ,
@@ -6603,6 +6596,8 @@ extern "C" {
6603
6596
pub fn CCRandomGenerateBytes ( bytes : * mut :: c_void , size : :: size_t ) -> :: CCRNGStatus ;
6604
6597
pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
6605
6598
6599
+ // FIXME(1.0): should this actually be deprecated?
6600
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
6606
6601
pub fn _NSGetExecutablePath ( buf : * mut :: c_char , bufsize : * mut u32 ) -> :: c_int ;
6607
6602
6608
6603
// crt_externs.h
@@ -6611,6 +6606,7 @@ extern "C" {
6611
6606
pub fn _NSGetEnviron ( ) -> * mut * mut * mut :: c_char ;
6612
6607
pub fn _NSGetProgname ( ) -> * mut * mut :: c_char ;
6613
6608
6609
+ #[ deprecated( since = "0.2.55" , note = "Use the `mach2` crate instead" ) ]
6614
6610
pub fn mach_vm_map (
6615
6611
target_task : :: vm_map_t ,
6616
6612
address : * mut :: mach_vm_address_t ,
0 commit comments