Skip to content

Commit d7ec9a8

Browse files
committed
---
yaml --- r: 190967 b: refs/heads/auto c: fcf3f32 h: refs/heads/master i: 190965: 85ba0d7 190963: 382f5e4 190959: 2b890eb v: v3
1 parent 09f1091 commit d7ec9a8

File tree

233 files changed

+11844
-18910
lines changed

Some content is hidden

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

233 files changed

+11844
-18910
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 46200e5090c94f2ab1812a00c0fd778a6784e2e9
13+
refs/heads/auto: fcf3f3209accbb9240ea44a24165e35e50eba1d2
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/configure

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,10 +461,7 @@ case $CFG_CPUTYPE in
461461
CFG_CPUTYPE=aarch64
462462
;;
463463

464-
# At some point, when ppc64[le] support happens, this will need to do
465-
# something clever. For now it's safe to assume that we're only ever
466-
# interested in building 32 bit.
467-
powerpc | ppc | ppc64)
464+
powerpc)
468465
CFG_CPUTYPE=powerpc
469466
;;
470467

@@ -826,11 +823,11 @@ then
826823
LLVM_VERSION=$($LLVM_CONFIG --version)
827824

828825
case $LLVM_VERSION in
829-
(3.[5-6]*)
826+
(3.[2-6]*)
830827
msg "found ok version of LLVM: $LLVM_VERSION"
831828
;;
832829
(*)
833-
err "bad LLVM version: $LLVM_VERSION, need >=3.5"
830+
err "bad LLVM version: $LLVM_VERSION, need >=3.0svn"
834831
;;
835832
esac
836833
fi

branches/auto/mk/dist.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ PKG_FILES := \
5353
driver \
5454
etc \
5555
$(foreach crate,$(CRATES),lib$(crate)) \
56-
libcollectionstest \
5756
libcoretest \
5857
libbacktrace \
5958
rt \

branches/auto/mk/main.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ LLVM_VERSION_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --version)
290290
LLVM_BINDIR_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --bindir)
291291
LLVM_INCDIR_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --includedir)
292292
LLVM_LIBDIR_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --libdir)
293-
LLVM_LIBDIR_RUSTFLAGS_$(1)=-L "$$(LLVM_LIBDIR_$(1))"
294293
LLVM_LIBS_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --libs $$(LLVM_COMPONENTS))
295294
LLVM_LDFLAGS_$(1)=$$(shell "$$(LLVM_CONFIG_$(1))" --ldflags)
296295
# On FreeBSD, it may search wrong headers (that are for pre-installed LLVM),

branches/auto/mk/target.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2)
7272
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
7373
$$(CRATEFILE_$(4)) \
7474
$$(CRATE_FULLDEPS_$(1)_T_$(2)_H_$(3)_$(4)) \
75-
$$(LLVM_CONFIG_$(2)) \
7675
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
7776
| $$(TLIB$(1)_T_$(2)_H_$(3))/
7877
@$$(call E, rustc: $$(@D)/lib$(4))
@@ -85,7 +84,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
8584
$$(subst @,,$$(STAGE$(1)_T_$(2)_H_$(3))) \
8685
$$(RUST_LIB_FLAGS_ST$(1)) \
8786
-L "$$(RT_OUTPUT_DIR_$(2))" \
88-
$$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
87+
-L "$$(LLVM_LIBDIR_$(2))" \
8988
$$(LLVM_STDCPP_RUSTFLAGS_$(2)) \
9089
$$(RUSTFLAGS_$(4)) \
9190
--out-dir $$(@D) \

branches/auto/mk/tests.mk

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
1919
DEPS_coretest :=
2020
$(eval $(call RUST_CRATE,coretest))
2121

22-
DEPS_collectionstest :=
23-
$(eval $(call RUST_CRATE,collectionstest))
24-
25-
TEST_TARGET_CRATES = $(filter-out core unicode,$(TARGET_CRATES)) collectionstest coretest
22+
TEST_TARGET_CRATES = $(filter-out core unicode,$(TARGET_CRATES)) coretest
2623
TEST_DOC_CRATES = $(DOC_CRATES)
2724
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve rustc_trans rustc_lint,\
2825
$(HOST_CRATES))
@@ -375,7 +372,7 @@ $(3)/stage$(1)/test/$(4)test-$(2)$$(X_$(2)): \
375372
$(Q)CFG_LLVM_LINKAGE_FILE=$$(LLVM_LINKAGE_PATH_$(3)) \
376373
$$(subst @,,$$(STAGE$(1)_T_$(2)_H_$(3))) -o $$@ $$< --test \
377374
-L "$$(RT_OUTPUT_DIR_$(2))" \
378-
$$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
375+
-L "$$(LLVM_LIBDIR_$(2))" \
379376
$$(RUSTFLAGS_$(4))
380377

381378
endef

branches/auto/src/compiletest/compiletest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#![feature(std_misc)]
2121
#![feature(test)]
2222
#![feature(core)]
23+
#![feature(net)]
2324
#![feature(path_ext)]
2425

2526
#![deny(warnings)]

branches/auto/src/doc/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ right at home if you've used tools like [Bundler](http://bundler.io/),
140140
[npm](https://www.npmjs.org/), or [pip](https://pip.pypa.io/en/latest/).
141141
There's no `Makefile`s or endless `autotools` output here. (Rust's tooling does
142142
[play nice with external libraries written in those
143-
tools](http://doc.crates.io/build-script.html), if you need to.)
143+
tools](http://crates.io/native-build.html), if you need to.)
144144

145145
Enough about tools, let's talk code!
146146

branches/auto/src/doc/reference.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,18 +1961,16 @@ module through the rules above. It essentially allows public access into the
19611961
re-exported item. For example, this program is valid:
19621962

19631963
```
1964-
pub use self::implementation::api;
1964+
pub use self::implementation as api;
19651965
19661966
mod implementation {
1967-
pub mod api {
1968-
pub fn f() {}
1969-
}
1967+
pub fn f() {}
19701968
}
19711969
19721970
# fn main() {}
19731971
```
19741972

1975-
This means that any external crate referencing `implementation::api::f` would
1973+
This means that any external crate referencing `implementation::f` would
19761974
receive a privacy violation, while the path `api::f` would be allowed.
19771975

19781976
When re-exporting a private item, it can be thought of as allowing the "privacy

branches/auto/src/doc/trpl/closures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ is that a moving closure always takes ownership of all variables that
6868
it uses. Ordinary closures, in contrast, just create a reference into
6969
the enclosing stack frame. Moving closures are most useful with Rust's
7070
concurrency features, and so we'll just leave it at this for
71-
now. We'll talk about them more in the "Concurrency" chapter of the book.
71+
now. We'll talk about them more in the "Threads" section of the guide.
7272

7373
## Accepting closures as arguments
7474

branches/auto/src/doc/trpl/concurrency.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ fn main() {
339339
});
340340
}
341341
342-
rx.recv().ok().expect("Could not receive answer");
342+
rx.recv().ok().expect("Could not recieve answer");
343343
}
344344
```
345345

branches/auto/src/doc/trpl/method-syntax.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ impl CircleBuilder {
187187
}
188188
189189
fn coordinate(&mut self, coordinate: f64) -> &mut CircleBuilder {
190-
self.coordinate = coordinate;
191-
self
190+
self.coordinate = coordinate;
191+
self
192192
}
193193
194194
fn radius(&mut self, radius: f64) -> &mut CircleBuilder {
195-
self.radius = radius;
196-
self
195+
self.radius = radius;
196+
self
197197
}
198198
199199
fn finalize(&self) -> Circle {

branches/auto/src/liballoc/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ use heap::deallocate;
9494
/// With simple pipes, without `Arc`, a copy would have to be made for each
9595
/// task.
9696
///
97-
/// ```rust
97+
/// ```
9898
/// use std::sync::Arc;
9999
/// use std::thread;
100100
///

branches/auto/src/liballoc/boxed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ use core::raw::TraitObject;
6464
///
6565
/// The following two examples are equivalent:
6666
///
67-
/// ```rust
67+
/// ```
6868
/// #![feature(box_syntax)]
6969
/// use std::boxed::HEAP;
7070
///

branches/auto/src/liballoc/heap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[cfg(stage0)]
1211
#[cfg(not(test))]
1312
use core::ptr::PtrExt;
1413

@@ -388,6 +387,7 @@ mod imp {
388387
mod test {
389388
extern crate test;
390389
use self::test::Bencher;
390+
use core::ptr::PtrExt;
391391
use boxed::Box;
392392
use heap;
393393

branches/auto/src/liballoc/rc.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,7 @@ use core::nonzero::NonZero;
159159
use core::ops::{Deref, Drop};
160160
use core::option::Option;
161161
use core::option::Option::{Some, None};
162-
#[cfg(stage0)]
163162
use core::ptr::{self, PtrExt};
164-
#[cfg(not(stage0))]
165-
use core::ptr;
166163
use core::result::Result;
167164
use core::result::Result::{Ok, Err};
168165
use core::intrinsics::assume;

branches/auto/src/libarena/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ use std::intrinsics::{TyDesc, get_tydesc};
4646
use std::intrinsics;
4747
use std::marker;
4848
use std::mem;
49-
#[cfg(stage0)]
5049
use std::num::{Int, UnsignedInt};
5150
use std::ptr;
5251
use std::rc::Rc;

branches/auto/src/libcollectionstest/bench.rs renamed to branches/auto/src/libcollections/bench.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ macro_rules! map_find_rand_bench {
6666
($name: ident, $n: expr, $map: ident) => (
6767
#[bench]
6868
pub fn $name(b: &mut ::test::Bencher) {
69+
use std::rand;
6970
use std::iter::IteratorExt;
7071
use std::rand::Rng;
71-
use std::rand;
72-
use std::vec::Vec;
7372
use test::black_box;
73+
use vec::Vec;
7474

7575
let mut map = $map::new();
7676
let n: usize = $n;

0 commit comments

Comments
 (0)