We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a895c9d commit 210402dCopy full SHA for 210402d
hv/examples/as.rs
@@ -72,6 +72,7 @@ fn main() -> Result<(), hv::Error> {
72
cpu.set_reg(Reg::X1, GUEST_RESULT_ADDR as _)
73
.expect("Failed to set X1");
74
75
+ #[allow(clippy::never_loop)]
76
loop {
77
cpu.run().expect("Failed to run CPU");
78
hv/src/lib.rs
@@ -37,6 +37,7 @@ bitflags::bitflags! {
37
#[macro_export]
38
macro_rules! call {
39
($f:expr) => {{
40
+ #[allow(clippy::macro_metavars_in_unsafe)]
41
let code = unsafe { $f };
42
match code {
43
0 => Ok(()),
0 commit comments