diff --git a/frida-gum/src/cpu_context.rs b/frida-gum/src/cpu_context.rs index 7db1073..0ee62de 100644 --- a/frida-gum/src/cpu_context.rs +++ b/frida-gum/src/cpu_context.rs @@ -95,14 +95,14 @@ impl<'a> CpuContext<'a> { } #[cfg(feature = "backtrace")] - #[cfg_attr(doc_cfg, doc(cfg(feature = "backtrace")))] + #[cfg_attr(docsrs, doc(cfg(feature = "backtrace")))] /// Get an accurate backtrace from this CPU context. pub fn backtrace_accurate(&self) -> Vec { crate::Backtracer::accurate_with_context(unsafe { &*self.cpu_context }) } #[cfg(feature = "backtrace")] - #[cfg_attr(doc_cfg, doc(cfg(feature = "backtrace")))] + #[cfg_attr(docsrs, doc(cfg(feature = "backtrace")))] /// Get a fuzzy backtrace from this CPU context. pub fn backtrace_fuzzy(&self) -> Vec { crate::Backtracer::fuzzy_with_context(unsafe { &*self.cpu_context })