style: wrap the dropped-OPENSSL_ia32cap log line for rustfmt

This commit is contained in:
FredApps committed 2026-11-12 19:35:17 +01:00
1 parent f52c6d8555
commit d0ab739f30
1 file changed
+2 -1
+2 -1
View File
@@ -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.