Skip to content

Commit 56f3fe4

Browse files
committed
---
yaml --- r: 107209 b: refs/heads/try c: 9ed82c7 h: refs/heads/master i: 107207: 15506d2 v: v3
1 parent aeb01e0 commit 56f3fe4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5-
refs/heads/try: 97063727d791fc75c4704e5838a1b7513691031f
5+
refs/heads/try: 9ed82c72cadca269d8ec3fa15513cb5593a8a38e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/liblibc/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ pub use funcs::posix88::unistd::{execv, execve, execvp, getcwd};
197197
pub use funcs::posix88::unistd::{getpid, isatty, lseek, pipe, read};
198198
pub use funcs::posix88::unistd::{rmdir, unlink, write};
199199

200+
#[cfg(not(windows))]
201+
#[link(name = "c")]
202+
#[link(name = "m")]
203+
extern {}
204+
200205
/// A wrapper for a nullable pointer. Don't use this except for interacting
201206
/// with libc. Basically Option, but without the dependance on libstd.
202207
// If/when libprim happens, this can be removed in favor of that

branches/try/src/librustc/middle/trans/context.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ use util::sha2::Sha256;
2929
use util::nodemap::{NodeMap, NodeSet, DefIdMap};
3030

3131
use libc::c_uint;
32-
use collections::{HashMap, HashSet};
3332
use std::cell::{Cell, RefCell};
3433
use std::c_str::ToCStr;
3534
use std::ptr;

branches/try/src/libstd/rtdeps.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,13 @@ extern {}
2222
// On linux librt and libdl are indirect dependencies via rustrt,
2323
// and binutils 2.22+ won't add them automatically
2424
#[cfg(target_os = "linux")]
25-
#[link(name = "c")]
2625
#[link(name = "dl")]
27-
#[link(name = "m")]
2826
#[link(name = "pthread")]
2927
extern {}
3028

3129
#[cfg(target_os = "android")]
3230
#[link(name = "dl")]
3331
#[link(name = "log")]
34-
#[link(name = "m")]
35-
#[link(name = "c")]
3632
extern {}
3733

3834
#[cfg(target_os = "freebsd")]

0 commit comments

Comments
 (0)