From 7d2404cb420591588684d4681cf81fe8cff1ace3 Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Tue, 10 Feb 2015 15:06:45 +0100 Subject: [PATCH] Move native thread name setting from thread_info to Thread, fixes #21911 --- src/libstd/thread.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index dda97bec925..cc9d7492441 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -156,6 +156,7 @@ use ops::{Drop, FnOnce}; use option::Option::{self, Some, None}; use result::Result::{Err, Ok}; use sync::{Mutex, Condvar, Arc}; +use str::Str; use string::String; use rt::{self, unwind}; use old_io::{Writer, stdio};