Skip to content

Commit 4944ab4

Browse files
authored
Rollup merge of rust-lang#121968 - roblabla:fix-win7, r=jhpratt
Don't run test_get_os_named_thread on win7 This test won't work on windows 7, as the Thread::set_name function is not implemented there (win7 does not provide a documented mechanism to set thread names).
2 parents 9d81d4e + 9eb927e commit 4944ab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/thread/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fn test_named_thread_truncation() {
7070
}
7171

7272
#[cfg(any(
73-
target_os = "windows",
73+
all(target_os = "windows", not(target_vendor = "win7")),
7474
target_os = "linux",
7575
target_os = "macos",
7676
target_os = "ios",

0 commit comments

Comments
 (0)