From 58ff5efe6163817521693c59522c7e0a3e73beb3 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Fri, 8 Aug 2025 17:33:02 -0400 Subject: [PATCH] test(build-std): relax the thread name assertion rust-lang/rust#115746 changed to print thread ID, so we update accordingly. --- tests/build-std/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/build-std/main.rs b/tests/build-std/main.rs index 3ce8b200e3c..fe7408fd6e6 100644 --- a/tests/build-std/main.rs +++ b/tests/build-std/main.rs @@ -375,7 +375,7 @@ fn remap_path_scope() { [FINISHED] `release` profile [optimized + debuginfo] target(s) in [ELAPSED]s [RUNNING] `target/[HOST_TARGET]/release/foo` ... -[..]thread '[..]' panicked at [..]src/main.rs:3:[..]: +[..]thread [..] panicked at [..]src/main.rs:3:[..]: [..]remap to /rustc/[..] [..]at /rustc/[..]/library/std/src/[..] [..]at ./src/main.rs:3:[..]