about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-06-04 09:12:11 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2014-06-04 19:10:40 +1000
commit96cc48fba28a32f0dd46b0fe38e04e6aff74456f (patch)
tree114502b2151906f6dfc7b2963489d63452e25d10 /src/libstd/lib.rs
parentaec7f469020c0fc1846a66fc607694644525a459 (diff)
downloadrust-96cc48fba28a32f0dd46b0fe38e04e6aff74456f.tar.gz
rust-96cc48fba28a32f0dd46b0fe38e04e6aff74456f.zip
libc: only provide an rlib.
There's absolutely no reason for `libc` to be offered as a dynamic
library.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index a67ed1c0b79..cde1a7335a5 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -254,6 +254,11 @@ mod unicode;
 #[unstable]
 pub mod rt;
 
+#[doc(hidden)]
+pub fn issue_14344_workaround() { // FIXME #14344 force linkage to happen correctly
+    libc::issue_14344_workaround();
+}
+
 // A curious inner-module that's not exported that contains the binding
 // 'std' so that macro-expanded references to std::error and such
 // can be resolved within libstd.