Skip to content

Commit

Permalink
Unrolled build for rust-lang#121968
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
rust-timer committed Mar 5, 2024
2 parents d18480b + 9eb927e commit b446ea1
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 b446ea1

Please sign in to comment.