Skip to content

Commit

Permalink
clippy allow unimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
krl committed Oct 21, 2024
1 parent 61fe6de commit 0659bf2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion clar2wasm/src/wasm_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,13 @@ impl WasmGenerator {
match t {
ValType::I32 => self.debug_log_i32(builder),
ValType::I64 => self.debug_log_i64(builder),
_ => unimplemented!("unsupported stack dump type"),
_ => {
// allow unimplemented in debug code
#[allow(clippy::unimplemented)]
{
unimplemented!("unsupported stack dump type")
}
}
}
}
self.debug_msg(builder, "<stack dump end>");
Expand Down

0 comments on commit 0659bf2

Please sign in to comment.