From 96cc48fba28a32f0dd46b0fe38e04e6aff74456f Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Wed, 4 Jun 2014 09:12:11 +1000 Subject: libc: only provide an rlib. There's absolutely no reason for `libc` to be offered as a dynamic library. --- src/liblibc/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/liblibc') 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 -- cgit 1.4.1-3-g733a5