Skip to content

Commit

Permalink
feat(instructions): make exceptions module public
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Klimt <jonathan.klimt@eonerc.rwth-aachen.de>
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
  • Loading branch information
mkroening and jounathaen committed Feb 21, 2024
1 parent e624fa1 commit a9e4184
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/instructions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pub fn halt() {
}

#[cfg(feature = "nightly")]
mod exceptions {
#[allow(clippy::missing_safety_doc)]
pub mod exceptions {
use core::arch::asm;

/// Generate an exception targeting EL1, with the specified exception code
Expand Down

0 comments on commit a9e4184

Please sign in to comment.