diff --git a/apps/pdfcraft/src/main.rs b/apps/pdfcraft/src/main.rs index eae60cc41f..032b8d3fbf 100644 --- a/apps/pdfcraft/src/main.rs +++ b/apps/pdfcraft/src/main.rs @@ -214,7 +214,8 @@ fn main() -> eframe::Result { // First, so the panic hook and every start-up warning are recorded (`logging`). let logger = logging::install(); if let Some(value) = pdfcraft_platform::crypto_env::dropped() { - log::warn!("{} was set to {value}; PdfCraft started again without it (aws-lc stops on a CPU feature the processor lacks)", pdfcraft_platform::crypto_env::IA32CAP); + let name = pdfcraft_platform::crypto_env::IA32CAP; + log::warn!("{name} was set to {value}; PdfCraft started again without it (aws-lc stops on a CPU feature the processor lacks)"); } // Last-resort guard (AGENTS.md ยง4): commands, edits, opens and saves catch panics and report // them; this hook logs every panic, caught or not, with a backtrace when RUST_BACKTRACE is set.