about summary refs log tree commit diff
path: root/src/libcore/task.rs
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-18 11:01:45 -0700
committerMichael Sullivan <sully@msully.net>2012-07-18 11:01:45 -0700
commit7f3bbd57c08bc29cb95f84a764f85d07b14899f6 (patch)
treec25e1e2fb0fbd4cf297d02ba0699b1bbae08fb95 /src/libcore/task.rs
parentdf7ce33b3dc6455ce954100241b3b3494295674e (diff)
downloadrust-7f3bbd57c08bc29cb95f84a764f85d07b14899f6.tar.gz
rust-7f3bbd57c08bc29cb95f84a764f85d07b14899f6.zip
Make task.rs export local_data. This is a hack to work around #2945.
Diffstat (limited to 'src/libcore/task.rs')
-rw-r--r--src/libcore/task.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcore/task.rs b/src/libcore/task.rs
index 7f798dcf047..66100ff5a2c 100644
--- a/src/libcore/task.rs
+++ b/src/libcore/task.rs
@@ -72,6 +72,10 @@ export thread_per_task;
 export manual_threads;
 export osmain;
 
+// FIXME (See #2945): This shouldn't be exported, but is to work around
+// what appears to be a metadata bug.
+export local_data;
+
 /* Data types */
 
 /// A handle to a task