Skip to content

Commit

Permalink
Don't run test_get_os_named_thread on win7
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
roblabla committed Mar 4, 2024
1 parent f7cb53e commit 9eb927e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/thread/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn test_named_thread_truncation() {
}

#[cfg(any(
target_os = "windows",
all(target_os = "windows", not(target_vendor = "win7")),
target_os = "linux",
target_os = "macos",
target_os = "ios",
Expand Down

0 comments on commit 9eb927e

Please sign in to comment.