We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5eea9f commit a59a146Copy full SHA for a59a146
std/src/thread/tests.rs
@@ -80,6 +80,7 @@ fn test_named_thread_truncation() {
80
#[test]
81
fn test_get_os_named_thread() {
82
use crate::sys::thread::Thread;
83
+ // Spawn a new thread to avoid interfering with other tests running on this thread.
84
let handler = thread::spawn(|| {
85
let name = c"test me please";
86
Thread::set_name(name);
0 commit comments