Skip to content

Commit 5ff66f0

Browse files
olsonjefferybrson
authored andcommitted
core: link pthreads explicitly in linux build
1 parent cf82360 commit 5ff66f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/core.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Implicitly, all crates behave as if they included the following prologue:
5858
#[cfg(target_os = "linux")]
5959
pub mod linkhack {
6060
#[link_args="-lrustrt -lrt"]
61+
#[link_args = "-lpthread"]
6162
extern {
6263
}
6364
}

0 commit comments

Comments
 (0)