Skip to content

Commit 4abdf68

Browse files
committed
efi: Allow const_item_mutation
CONST_ITEM_MUTATION list[1] warns mutable copy of STDIN and STDOUT when creating UEFI SystemTable. This commit suppresses the warnings. [1] rust-lang/rust#75573 Signed-off-by: Akira Moroo <[email protected]>
1 parent de9b015 commit 4abdf68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/efi/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ struct LoadedImageWrapper {
615615
proto: LoadedImageProtocol,
616616
}
617617

618+
#[allow(const_item_mutation)]
618619
pub fn efi_exec(
619620
address: u64,
620621
loaded_address: u64,

0 commit comments

Comments
 (0)