Skip to content

Commit 08c5af5

Browse files
committed
---
yaml --- r: 135035 b: refs/heads/master c: 655b726 h: refs/heads/master i: 135033: 2861d93 135031: b9413f0 v: v3
1 parent cf4e4fe commit 08c5af5

Some content is hidden

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

77 files changed

+3097
-1113
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2257e231a7e0c455b61c60414a65e89f01cbf509
2+
refs/heads/master: 655b7269c865b8ff446296bdb7640c6ad5c4f965
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 7eb9337dace88c5ded431aa7507f06d50619131b
55
refs/heads/try: 14378ea357c06c23607ca61ade44f60a7a64a1c7

trunk/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ esac
488488

489489
# Continue supporting the old --enable-nightly flag to transition the bots
490490
# XXX Remove me
491-
if [ $CFG_ENABLE_NIGHTLY -eq 1 ]
491+
if [ ! -z "$CFG_ENABLE_NIGHTLY" ]
492492
then
493493
CFG_RELEASE_CHANNEL=nightly
494494
putvar CFG_RELEASE_CHANNEL

trunk/mk/stage0.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
$(HBIN0_H_$(CFG_BUILD))/:
44
mkdir -p $@
55

6+
# On windows these two are the same, so cause a redifinition warning
7+
ifneq ($(HBIN0_H_$(CFG_BUILD)),$(HLIB0_H_$(CFG_BUILD)))
68
$(HLIB0_H_$(CFG_BUILD))/:
79
mkdir -p $@
10+
endif
811

912
$(SNAPSHOT_RUSTC_POST_CLEANUP): \
1013
$(S)src/snapshots.txt \

trunk/src/doc/guide-pointers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ As being similar to this C code:
505505
{
506506
int *x;
507507
x = (int *)malloc(sizeof(int));
508+
*x = 5;
508509
509510
// stuff happens
510511

trunk/src/doc/guide-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ is not used.
7272
Tests that should not be run can be annotated with the `ignore`
7373
attribute. The existence of these tests will be noted in the test
7474
runner output, but the test will not be run. Tests can also be ignored
75-
by configuration so, for example, to ignore a test on windows you can
76-
write `#[ignore(cfg(target_os = "win32"))]`.
75+
by configuration using the `cfg_attr` attribute so, for example, to ignore a
76+
test on windows you can write `#[cfg_attr(windows, ignore)]`.
7777

7878
Tests that are intended to fail can be annotated with the
7979
`should_fail` attribute. The test will be run, and if it causes its

trunk/src/doc/guide.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,6 +1507,7 @@ You can create an array with just square brackets:
15071507

15081508
```{rust}
15091509
let nums = [1i, 2i, 3i];
1510+
let nums = [1i, ..20]; // Shorthand for an array of 20 elements all initialized to 1
15101511
```
15111512

15121513
So what's the difference? An array has a fixed size, so you can't add or
@@ -4324,8 +4325,6 @@ and so we tell it that we want a vector of integers.
43244325
is one:
43254326

43264327
```{rust}
4327-
let one_to_one_hundred = range(0i, 100i);
4328-
43294328
let greater_than_forty_two = range(0i, 100i)
43304329
.find(|x| *x >= 42);
43314330
@@ -4489,8 +4488,8 @@ This will print
44894488
```
44904489

44914490
`filter()` is an adapter that takes a closure as an argument. This closure
4492-
returns `true` or `false`. The new iterator `filter()` produces returns
4493-
only the elements that that closure returned `true` for:
4491+
returns `true` or `false`. The new iterator `filter()` produces
4492+
only the elements that that closure returns `true` for:
44944493

44954494
```{rust}
44964495
for i in range(1i, 100i).filter(|x| x % 2 == 0) {

trunk/src/etc/licenseck.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"test/bench/shootout-chameneos-redux.rs", # BSD
4747
"test/bench/shootout-fannkuch-redux.rs", # BSD
4848
"test/bench/shootout-fasta.rs", # BSD
49+
"test/bench/shootout-fasta-redux.rs", # BSD
4950
"test/bench/shootout-k-nucleotide.rs", # BSD
5051
"test/bench/shootout-mandelbrot.rs", # BSD
5152
"test/bench/shootout-meteor.rs", # BSD

0 commit comments

Comments
 (0)