about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-04 15:26:50 -0700
committerbors <bors@rust-lang.org>2014-06-04 15:26:50 -0700
commitaa09561bb606bb622136ac9ad3702ab1179db5b2 (patch)
tree6133c596dfa35493adbf21cda7d1b49fd71fa5e3 /src/libstd
parentef9bf3a4ee61f7513356c3c9911cd38445e22de6 (diff)
parent96cc48fba28a32f0dd46b0fe38e04e6aff74456f (diff)
downloadrust-aa09561bb606bb622136ac9ad3702ab1179db5b2.tar.gz
rust-aa09561bb606bb622136ac9ad3702ab1179db5b2.zip
auto merge of #14633 : huonw/rust/nodylibc, r=alexcrichton
libc: only provide an rlib.

There's absolutely no reason for `libc` to be offered as a dynamic
library.
Diffstat (limited to 'src/libstd')
-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.