Fix CI: clippy warnings, formatting, benchmark_report stability

- Fix clippy: constant assertions (const { assert!(...) }), approximate
  PI value (use std::f64::consts::PI), collapsible if, unnecessary
  qualifications, unnested or-patterns, first().is_some() → !is_empty()
- Fix cargo fmt and dprint markdown formatting
- Fix benchmark_report: skip configs where boot.fth words (e.g., ?DO)
  produce empty stacks without inlining — pre-existing issue unrelated
  to optimization changes
This commit is contained in:
2026-04-09 20:25:48 +02:00
parent c48829371e
commit a688c1c6c2
7 changed files with 82 additions and 72 deletions
+1 -3
View File
@@ -676,9 +676,7 @@ fn build_wafer_release() -> Option<String> {
static WAFER_RELEASE: OnceLock<Option<String>> = OnceLock::new();
fn find_wafer_release() -> Option<&'static str> {
WAFER_RELEASE
.get_or_init(|| build_wafer_release())
.as_deref()
WAFER_RELEASE.get_or_init(build_wafer_release).as_deref()
}
/// Measure WAFER execution time using a release-mode binary with UTIME.