diff --git a/apps/gridcraft/src/logging.rs b/apps/gridcraft/src/logging.rs index d73cd7131..e3b56a8cb 100644 --- a/apps/gridcraft/src/logging.rs +++ b/apps/gridcraft/src/logging.rs @@ -262,6 +262,7 @@ impl log::Log for AppLogger { } // Formatted before the sink is locked, so a message that logs while it is formatted can't deadlock. let thread = std::thread::current(); + #[allow(clippy::disallowed_methods)] // the desktop app (native only): wasm never runs it let line = format_line(×tamp(SystemTime::now()), record.level(), thread.name().unwrap_or("?"), record.target(), &record.args().to_string()); if self.stderr {