Skip to content

Commit 73e2a7e

Browse files
bstriebrson
authored andcommitted
---
yaml --- r: 10399 b: refs/heads/snap-stage3 c: c9bbf73 h: refs/heads/master i: 10397: 5c7aea9 10395: b701dfd 10391: 62eb246 10383: 7033862 10367: eaa0182 v: v3
1 parent e55d3a1 commit 73e2a7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+785
-531
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: fbd583bde2d51dadd87f1b3c74b4723399f7e3b9
4+
refs/heads/snap-stage3: c9bbf739ebce93a01471ecef80bc2f088e9e98c7
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/snap-stage3/mk/install.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ install: all install-host install-targets
5858

5959
# Shorthand for build/stageN/bin
6060
HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
61-
HB3 = $(HBIN3_H_$(CFG_HOST_TRIPLE))
61+
HB3 = $(HBIN2_H_$(CFG_HOST_TRIPLE))
6262
# Shorthand for build/stageN/lib
6363
HL = $(HLIB$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
6464
# Shorthand for the prefix bin directory

branches/snap-stage3/src/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rustc/ The self-hosted compiler
66

77
libcore/ The core library (imported and linked by default)
88
libstd/ The standard library (slightly more peripheral code)
9-
librustsyntax/ The Rust parser and pretty-printer
9+
libsyntax/ The Rust parser and pretty-printer
1010

1111
rt/ The runtime system
1212
rt/rust_*.cpp - The majority of the runtime services

branches/snap-stage3/src/libcore/cmath.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ native mod c_double {
4848
pure fn frexp(n: c_double, &value: c_int) -> c_double;
4949
pure fn hypot(x: c_double, y: c_double) -> c_double;
5050
pure fn ldexp(x: c_double, n: c_int) -> c_double;
51-
#[cfg(target_os = "linux")]
52-
#[cfg(target_os = "macos")]
53-
#[cfg(target_os = "freebsd")]
51+
#[cfg(unix)]
5452
#[link_name="lgamma_r"] pure fn lgamma(n: c_double,
5553
&sign: c_int) -> c_double;
56-
#[cfg(target_os = "win32")]
54+
#[cfg(windows)]
5755
#[link_name="__lgamma_r"] pure fn lgamma(n: c_double,
5856
&sign: c_int) -> c_double;
5957
// renamed: log is a reserved keyword; ln seems more natural, too
@@ -131,13 +129,11 @@ native mod c_float {
131129
#[link_name="hypotf"] pure fn hypot(x: c_float, y: c_float) -> c_float;
132130
#[link_name="ldexpf"] pure fn ldexp(x: c_float, n: c_int) -> c_float;
133131

134-
#[cfg(target_os="linux")]
135-
#[cfg(target_os="macos")]
136-
#[cfg(target_os="freebsd")]
132+
#[cfg(unix)]
137133
#[link_name="lgammaf_r"] pure fn lgamma(n: c_float,
138134
&sign: c_int) -> c_float;
139135

140-
#[cfg(target_os="win32")]
136+
#[cfg(windows)]
141137
#[link_name="__lgammaf_r"] pure fn lgamma(n: c_float,
142138
&sign: c_int) -> c_float;
143139

branches/snap-stage3/src/libcore/comm.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,15 +420,15 @@ fn test_recv_chan() {
420420

421421
#[test]
422422
#[should_fail]
423-
#[ignore(cfg(target_os = "win32"))]
423+
#[ignore(cfg(windows))]
424424
fn test_recv_chan_dead() {
425425
let ch = chan(port());
426426
send(ch, "flower");
427427
recv_chan(ch);
428428
}
429429

430430
#[test]
431-
#[ignore(cfg(target_os = "win32"))]
431+
#[ignore(cfg(windows))]
432432
fn test_recv_chan_wrong_task() {
433433
let po = port();
434434
let ch = chan(po);
@@ -464,7 +464,7 @@ fn test_listen() {
464464
}
465465

466466
#[test]
467-
#[ignore(cfg(target_os="win32"))]
467+
#[ignore(cfg(windows))]
468468
fn test_port_detach_fail() {
469469
iter::repeat(100u) {||
470470
let builder = task::builder();

branches/snap-stage3/src/libcore/io.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,10 @@ fn fd_writer(fd: fd_t, cleanup: bool) -> writer {
398398
fn mk_file_writer(path: str, flags: [fileflag])
399399
-> result<writer, str> {
400400

401-
#[cfg(target_os = "win32")]
401+
#[cfg(windows)]
402402
fn wb() -> c_int { (O_WRONLY | O_BINARY) as c_int }
403403

404-
#[cfg(target_os = "linux")]
405-
#[cfg(target_os = "macos")]
406-
#[cfg(target_os = "freebsd")]
404+
#[cfg(unix)]
407405
fn wb() -> c_int { O_WRONLY as c_int }
408406

409407
let mut fflags: c_int = wb();

branches/snap-stage3/src/libcore/iter.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ fn test_min() {
229229
230230
#[test]
231231
#[should_fail]
232-
#[ignore(cfg(target_os = "win32"))]
232+
#[ignore(cfg(windows))]
233233
fn test_min_empty() {
234234
min::<int, [int]>([]);
235235
}
@@ -241,7 +241,7 @@ fn test_max() {
241241
242242
#[test]
243243
#[should_fail]
244-
#[ignore(cfg(target_os = "win32"))]
244+
#[ignore(cfg(windows))]
245245
fn test_max_empty() {
246246
max::<int, [int]>([]);
247247
}

0 commit comments

Comments
 (0)