From affea51d8ab020682cb93ff8eb0a1f74e8e35c0e Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 18 Nov 2026 03:15:24 -0800 Subject: [PATCH] harness: the binary imports count_instructions, which it calls before it makes a device The previous commit called it through a run:: path the binary does not have in scope, so the harness binary did not compile (check job m3-max-45575, msi). --- crates/metal2vulkan-harness/src/bin/harness.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-harness/src/bin/harness.rs b/crates/metal2vulkan-harness/src/bin/harness.rs index dacdf53c4..8d13e8af3 100644 --- a/crates/metal2vulkan-harness/src/bin/harness.rs +++ b/crates/metal2vulkan-harness/src/bin/harness.rs @@ -34,7 +34,8 @@ use metal2vulkan_harness::authored::{Create, Makes}; use metal2vulkan_harness::plan::Plan; use metal2vulkan_harness::run::{ - matrix_time, percentile, run_each, steady, CreateReport, Harness, Report, Runs, Session, Warmup, + count_instructions, matrix_time, percentile, run_each, steady, CreateReport, Harness, Report, + Runs, Session, Warmup, }; use metal2vulkan_harness::{authored, description, old, rt, Error, Failed, Result, Waits}; use std::path::{Path, PathBuf}; @@ -61,7 +62,7 @@ const USAGE: &str = "usage: harness --runtime old|new[,old|new...] [--runs N] [- fn main() -> ExitCode { // Before any device starts its threads, so that theirs count too. - run::count_instructions(); + count_instructions(); match parse(std::env::args().skip(1)).and_then(|args| run_all(&args)) { Ok(true) => ExitCode::SUCCESS, Ok(false) => ExitCode::FAILURE,