Skip to content

Commit 63d3bcb

Browse files
committed
---
yaml --- r: 2509 b: refs/heads/master c: c124404 h: refs/heads/master i: 2507: 43b0446 v: v3
1 parent c3572fd commit 63d3bcb

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
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 8a8f68aa7575dd9a052b6cee4fd167e43b1b632f
2+
refs/heads/master: c124404d0e1c8ce922a702661175495a65af1ea8

trunk/src/comp/driver/rustc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ fn default_environment(session::session sess,
3535
str argv0,
3636
str input) -> eval::env {
3737

38-
auto libc = "libc::so";
38+
auto libc = "libc.so";
3939
alt (sess.get_targ_cfg().os) {
4040
case (session::os_win32) { libc = "msvcrt.dll"; }
41-
case (session::os_macos) { libc = "libc::dylib"; }
42-
case (session::os_linux) { libc = "libc::so.6"; }
41+
case (session::os_macos) { libc = "libc.dylib"; }
42+
case (session::os_linux) { libc = "libc.so.6"; }
4343
}
4444

4545
ret

trunk/src/lib/linux_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import _vec::vbuf;
44
// FIXME Somehow merge stuff duplicated here and macosx_os.rs. Made difficult
55
// by https://github.com/graydon/rust/issues#issue/268
66

7-
native mod libc = "libc::so.6" {
7+
native mod libc = "libc.so.6" {
88

99
fn open(sbuf s, int flags, uint mode) -> int;
1010
fn read(int fd, vbuf buf, uint count) -> int;

trunk/src/lib/macos_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _str::sbuf;
22
import _vec::vbuf;
33

4-
native mod libc = "libc::dylib" {
4+
native mod libc = "libc.dylib" {
55

66
fn open(sbuf s, int flags, uint mode) -> int;
77
fn read(int fd, vbuf buf, uint count) -> int;

0 commit comments

Comments
 (0)