about summary refs log tree commit diff
path: root/src/libcore/rt/thread.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-19 21:57:49 -0700
committerbors <bors@rust-lang.org>2013-03-19 21:57:49 -0700
commitf3c879fdd8aad67cf4f6edd3aacb0189c284c920 (patch)
tree872abff783f535fce31af87b8bceeba0f10bf8dd /src/libcore/rt/thread.rs
parent4cb9ca92962dbbe8ffd813c016e9d6f809dd285b (diff)
parentf8dab3a6c0adff63854d5e238961a771419d23b7 (diff)
downloadrust-f3c879fdd8aad67cf4f6edd3aacb0189c284c920.tar.gz
rust-f3c879fdd8aad67cf4f6edd3aacb0189c284c920.zip
auto merge of #5442 : pcwalton/rust/extern-block-restriction, r=pcwalton
r? @graydon
Diffstat (limited to 'src/libcore/rt/thread.rs')
-rw-r--r--src/libcore/rt/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/rt/thread.rs b/src/libcore/rt/thread.rs
index be1d86c9cf7..5dccf90096e 100644
--- a/src/libcore/rt/thread.rs
+++ b/src/libcore/rt/thread.rs
@@ -20,7 +20,7 @@ struct Thread {
 }
 
 impl Thread {
-    static fn start(main: ~fn()) -> Thread {
+    static pub fn start(main: ~fn()) -> Thread {
         fn substart(main: &fn()) -> *raw_thread {
             unsafe { rust_raw_thread_start(&main) }
         }