Check if DIT is supported by this CPU.
(&self)
| 69 | |
| 70 | /// Check if DIT is supported by this CPU. |
| 71 | pub fn is_supported(&self) -> bool { |
| 72 | #[cfg(target_arch = "aarch64")] |
| 73 | return self.supported.get(); |
| 74 | #[cfg(not(target_arch = "aarch64"))] |
| 75 | false |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /// RAII guard which returns DIT to its previous state when dropped. |
no test coverage detected