We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8464aec + 5ed75f3 commit e757788Copy full SHA for e757788
src/unix/bsd/apple/mod.rs
@@ -6657,6 +6657,7 @@ extern "C" {
6657
out_processor_infoCnt: *mut mach_msg_type_number_t,
6658
) -> ::kern_return_t;
6659
6660
+ #[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")]
6661
pub static mut mach_task_self_: ::mach_port_t;
6662
pub fn task_for_pid(
6663
host: ::mach_port_t,
@@ -6774,6 +6775,8 @@ extern "C" {
6774
6775
) -> ::c_int;
6776
}
6777
6778
+#[allow(deprecated)]
6779
+#[deprecated(since = "0.2.55", note = "Use the `mach2` crate instead")]
6780
pub unsafe fn mach_task_self() -> ::mach_port_t {
6781
mach_task_self_
6782
0 commit comments