| 79 | /// RAII guard which returns DIT to its previous state when dropped. |
| 80 | #[cfg(target_arch = "aarch64")] |
| 81 | pub struct Guard<'a> { |
| 82 | /// DIT implementation. |
| 83 | dit: &'a Dit, |
| 84 | |
| 85 | /// Previous DIT state before it was enabled. |
| 86 | was_enabled: bool, |
| 87 | } |
| 88 | |
| 89 | #[cfg(target_arch = "aarch64")] |
| 90 | impl Drop for Guard<'_> { |
nothing calls this directly
no outgoing calls
no test coverage detected