|
254 | 254 |
|
255 | 255 | #[deprecated( |
256 | 256 | since = "0.2.55", |
257 | | - note = "Use the `mach` crate instead", |
| 257 | + note = "Use the `mach2` crate instead", |
258 | 258 | )] |
259 | 259 | pub struct mach_timebase_info { |
260 | 260 | pub numer: u32, |
|
522 | 522 |
|
523 | 523 | #[deprecated( |
524 | 524 | since = "0.2.55", |
525 | | - note = "Use the `mach` crate instead", |
| 525 | + note = "Use the `mach2` crate instead", |
526 | 526 | )] |
527 | 527 | pub struct mach_header { |
528 | 528 | pub magic: u32, |
|
536 | 536 |
|
537 | 537 | #[deprecated( |
538 | 538 | since = "0.2.55", |
539 | | - note = "Use the `mach` crate instead", |
| 539 | + note = "Use the `mach2` crate instead", |
540 | 540 | )] |
541 | 541 | pub struct mach_header_64 { |
542 | 542 | pub magic: u32, |
@@ -4790,9 +4790,9 @@ extern "C" { |
4790 | 4790 | newp: *mut ::c_void, |
4791 | 4791 | newlen: ::size_t, |
4792 | 4792 | ) -> ::c_int; |
4793 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 4793 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
4794 | 4794 | pub fn mach_absolute_time() -> u64; |
4795 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 4795 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
4796 | 4796 | #[allow(deprecated)] |
4797 | 4797 | pub fn mach_timebase_info(info: *mut ::mach_timebase_info) -> ::c_int; |
4798 | 4798 | pub fn mach_host_self() -> mach_port_t; |
@@ -5062,14 +5062,14 @@ extern "C" { |
5062 | 5062 | pub fn brk(addr: *const ::c_void) -> *mut ::c_void; |
5063 | 5063 | pub fn sbrk(increment: ::c_int) -> *mut ::c_void; |
5064 | 5064 | pub fn settimeofday(tv: *const ::timeval, tz: *const ::timezone) -> ::c_int; |
5065 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 5065 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
5066 | 5066 | pub fn _dyld_image_count() -> u32; |
5067 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 5067 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
5068 | 5068 | #[allow(deprecated)] |
5069 | 5069 | pub fn _dyld_get_image_header(image_index: u32) -> *const mach_header; |
5070 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 5070 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
5071 | 5071 | pub fn _dyld_get_image_vmaddr_slide(image_index: u32) -> ::intptr_t; |
5072 | | - #[deprecated(since = "0.2.55", note = "Use the mach crate")] |
| 5072 | + #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")] |
5073 | 5073 | pub fn _dyld_get_image_name(image_index: u32) -> *const ::c_char; |
5074 | 5074 |
|
5075 | 5075 | pub fn posix_spawn( |
|
0 commit comments