Skip to content

Commit

Permalink
acpica+boot: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Oct 18, 2024
1 parent 553a4e8 commit 4342b03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions oro-acpica-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ syn.workspace = true

# NOTE(qix-): This crate is not subject to the typical linting rules
# NOTE(qix-): of the workspace as there's no feasible way to make it work.
[lints.clippy]
useless_transmute = "allow"
1 change: 0 additions & 1 deletion oro-boot/src/target/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ pub unsafe fn prepare_transfer<A: Alloc>(
.ok_or(crate::Error::MapError(MapError::OutOfMemory))?;

// Direct map it.
#[expect(clippy::cast_possible_truncation)]
AddressSpaceLayout::stubs()
.map(
&page_table,
Expand Down

0 comments on commit 4342b03

Please sign in to comment.