Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions uefi-test-runner/examples/timestamp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ pub fn test_timestamp() {
.expect("Founded Timestamp Protocol but open failed");
// ANCHOR: text
let timestamp = timestamp_proto.get_timestamp();
info!("Timestamp Protocol's timestamp: {:?}", timestamp);
info!("Timestamp Protocol's timestamp: {timestamp:?}");

let properties = timestamp_proto.get_properties();
info!("Timestamp Protocol's properties: {:?}", properties);
info!("Timestamp Protocol's properties: {properties:?}");
// ANCHOR_END: text
}
Err(err) => {
warn!("Failed to found Timestamp Protocol: {:?}", err);
warn!("Failed to found Timestamp Protocol: {err}");
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions uefi-test-runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#![no_std]
#![no_main]
// TODO: https://github.com/rust-osdev/uefi-rs/issues/1687
#![expect(clippy::uninlined_format_args, mismatched_lifetime_syntaxes)]

#[macro_use]
extern crate log;
Expand Down
6 changes: 6 additions & 0 deletions uefi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@
unsafe_op_in_unsafe_fn,
unused
)]
// TODO: https://github.com/rust-osdev/uefi-rs/issues/1687
#![expect(
clippy::uninlined_format_args,
clippy::unnecessary_unwrap,
mismatched_lifetime_syntaxes
)]

#[cfg(feature = "alloc")]
extern crate alloc;
Expand Down
3 changes: 3 additions & 0 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// SPDX-License-Identifier: MIT OR Apache-2.0

// TODO: https://github.com/rust-osdev/uefi-rs/issues/1687
#![expect(clippy::collapsible_if)]

mod arch;
mod cargo;
mod check_raw;
Expand Down
Loading