Skip to content

Commit 7f3bbd5

Browse files
committed
Make task.rs export local_data. This is a hack to work around #2945.
1 parent df7ce33 commit 7f3bbd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcore/task.rs

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ export thread_per_task;
7272
export manual_threads;
7373
export osmain;
7474

75+
// FIXME (See #2945): This shouldn't be exported, but is to work around
76+
// what appears to be a metadata bug.
77+
export local_data;
78+
7579
/* Data types */
7680

7781
/// A handle to a task

0 commit comments

Comments
 (0)