about summary refs log tree commit diff
path: root/src/libstd/rtdeps.rs
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-02-24 13:16:03 -0500
committerAlex Crichton <alex@alexcrichton.com>2014-04-04 09:31:21 -0700
commit308c03501a9a49d058f2ad76dd17a4e593ce7be7 (patch)
tree7422beb467d5f5cde6dc4c9c1b497625c5d21810 /src/libstd/rtdeps.rs
parent46e6194ee138b09d7376fa3dcdb539cf41dc68dd (diff)
downloadrust-308c03501a9a49d058f2ad76dd17a4e593ce7be7.tar.gz
rust-308c03501a9a49d058f2ad76dd17a4e593ce7be7.zip
Remove libc from std
These wrappers are bound to a specific libc, and they don't need to be part of
libstd.
Diffstat (limited to 'src/libstd/rtdeps.rs')
-rw-r--r--src/libstd/rtdeps.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/rtdeps.rs b/src/libstd/rtdeps.rs
index 65824b8f79f..f954bcabe5a 100644
--- a/src/libstd/rtdeps.rs
+++ b/src/libstd/rtdeps.rs
@@ -22,23 +22,18 @@ extern {}
 // On linux librt and libdl are indirect dependencies via rustrt,
 // and binutils 2.22+ won't add them automatically
 #[cfg(target_os = "linux")]
-#[link(name = "c")]
 #[link(name = "dl")]
-#[link(name = "m")]
 #[link(name = "pthread")]
 extern {}
 
 #[cfg(target_os = "android")]
 #[link(name = "dl")]
 #[link(name = "log")]
-#[link(name = "m")]
-#[link(name = "c")]
 extern {}
 
 #[cfg(target_os = "freebsd")]
 #[link(name = "execinfo")]
 #[link(name = "pthread")]
-#[link(name = "m")]
 extern {}
 
 #[cfg(target_os = "macos")]