From 1262e7ae7c26cdbae31c052d86a4f3132609a960 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 18 Nov 2026 05:49:13 -0800 Subject: [PATCH] rt: name std::thread in the cache's test-only merge wait wait_while_merge_held (cfg test with m2v_gpu or m2v_cpu_icd) called thread::sleep without std::thread in scope, so rt's lib tests failed to compile under both device cfgs (E0433), as core's landing check m3-max-46232 showed. Host builds never compile the item, so the host gate stayed green. Verified: compile check of rt's tests under --cfg m2v_gpu and --cfg m2v_cpu_icd (the pd job named in the landing report). --- crates/metal2vulkan-rt/src/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan-rt/src/cache.rs b/crates/metal2vulkan-rt/src/cache.rs index 7b738d43c..312301ac4 100644 --- a/crates/metal2vulkan-rt/src/cache.rs +++ b/crates/metal2vulkan-rt/src/cache.rs @@ -942,7 +942,7 @@ impl Caches { } self.merge_waiting.store(true, Release); while self.merge_held.load(Acquire) { - thread::sleep(Duration::from_millis(1)); + std::thread::sleep(Duration::from_millis(1)); } self.merge_waiting.store(false, Release); }