Don't run test_get_os_named_thread on win7 · rust-lang/rust@9eb927e (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 9eb927e

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).

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ fn test_named_thread_truncation() {
70 70 }
71 71
72 72 #[cfg(any(
73 - target_os = "windows",
73 + all(target_os = "windows", not(target_vendor = "win7")),
74 74 target_os = "linux",
75 75 target_os = "macos",
76 76 target_os = "ios",