(&mut self)
| 89 | #[cfg(target_arch = "aarch64")] |
| 90 | impl Drop for Guard<'_> { |
| 91 | fn drop(&mut self) { |
| 92 | if self.dit.supported.get() { |
| 93 | unsafe { restore_dit(self.was_enabled) } |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | /// Detect if DIT is enabled for the current thread by checking the processor state register. |
nothing calls this directly
no test coverage detected