diff options
| author | Corey Richardson <corey@octayn.net> | 2014-02-24 13:16:03 -0500 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-04 09:31:21 -0700 |
| commit | 308c03501a9a49d058f2ad76dd17a4e593ce7be7 (patch) | |
| tree | 7422beb467d5f5cde6dc4c9c1b497625c5d21810 /src/libstd/rtdeps.rs | |
| parent | 46e6194ee138b09d7376fa3dcdb539cf41dc68dd (diff) | |
| download | rust-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.rs | 5 |
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")] |
