about summary refs log tree commit diff
path: root/src/liblibc/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/liblibc/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/liblibc/lib.rs')
-rw-r--r--src/liblibc/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 3a9f8bc863b..5b7f58fcb81 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -14,7 +14,6 @@
 #![no_std] // we don't need std, and we can't have std, since it doesn't exist
            // yet. std depends on us.
 #![crate_type = "rlib"]
-#![crate_type = "dylib"]
 
 /*!
 * Bindings for the C standard library and other platform libraries
@@ -4436,4 +4435,7 @@ pub mod funcs {
     }
 }
 
+#[doc(hidden)]
+pub fn issue_14344_workaround() {} // FIXME #14344 force linkage to happen correctly
+
 #[test] fn work_on_windows() { } // FIXME #10872 needed for a happy windows