style: update code format

This commit is contained in:
2026-04-11 13:37:29 +08:00
parent fd88e036ed
commit 045cc90d81
6 changed files with 135 additions and 44 deletions

View File

@@ -1401,7 +1401,10 @@ fn normalize_target_os(s: &str) -> &str {
"windows" => "x86_64-pc-windows-msvc",
_ if s.contains('-') => s, // Assume valid triple
_ => {
warn(&format!("Unknown target '{}', using as-is. Supported short names: linux, macos, windows", s));
warn(&format!(
"Unknown target '{}', using as-is. Supported short names: linux, macos, windows",
s
));
s
}
}