Skip to content

Commit 6267ff6

Browse files
author
Eric Reed
committed
---
yaml --- r: 63445 b: refs/heads/snap-stage3 c: 9687437 h: refs/heads/master i: 63443: 4a665fd v: v3
1 parent 39acb66 commit 6267ff6

File tree

1,065 files changed

+21244
-69432
lines changed

Some content is hidden

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

1,065 files changed

+21244
-69432
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 9a5bdd71cec39b31124d67fe912467e906a0d310
4+
refs/heads/snap-stage3: 9687437d4543c2395b92ebcb910fcaf9d8b2cd44
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
src/rt/msvc/* -whitespace
88
src/rt/vg/* -whitespace
99
src/rt/linenoise/* -whitespace
10-
src/rt/jemalloc/**/* -whitespace

branches/snap-stage3/.mailmap

Lines changed: 0 additions & 12 deletions
This file was deleted.

branches/snap-stage3/CONTRIBUTING.md

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,27 @@
11
## Pull request procedure
22

3-
Pull requests should be targeted at Rust's `master` branch.
4-
Before pushing to your Github repo and issuing the pull request,
5-
please do two things:
3+
Pull requests should be targeted at Rust's `incoming` branch (note that by default Github will aim them at the `master` branch) --
4+
see "Changing The Commit Range and Destination Repository" in Github's documentation on [pull requests](https://help.github.com/articles/using-pull-requests).
5+
Before pushing to your Github repo and issuing the pull request, please do two things:
66

7-
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your
8-
local changes against the `master` branch. Resolve any conflicts
9-
that arise.
7+
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `incoming` branch. Resolve any conflicts that arise.
8+
2. Run the full Rust test suite with the `make check` command.
9+
You're not off the hook even if you just stick to documentation; code examples in the docs are tested as well!
1010

11-
2. Run the full Rust test suite with the `make check` command. You're
12-
not off the hook even if you just stick to documentation; code
13-
examples in the docs are tested as well!
11+
Pull requests will be treated as "review requests",
12+
and we will give feedback we expect to see corrected on [style](https://github.com/mozilla/rust/wiki/Note-style-guide) and substance before pulling.
13+
Changes contributed via pull request should focus on a single issue at a time, like any other.
14+
We will not accept pull-requests that try to "sneak" unrelated changes in.
1415

15-
Pull requests will be treated as "review requests", and we will give
16-
feedback we expect to see corrected on
17-
[style](https://github.com/mozilla/rust/wiki/Note-style-guide) and
18-
substance before pulling. Changes contributed via pull request should
19-
focus on a single issue at a time, like any other. We will not accept
20-
pull-requests that try to "sneak" unrelated changes in.
16+
Normally, all pull requests must include regression tests (see [Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite)) that test your change.
17+
Occasionally, a change will be very difficult to test for.
18+
In those cases, please include a note in your commit message explaining why.
2119

22-
Normally, all pull requests must include regression tests (see
23-
[Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite))
24-
that test your change. Occasionally, a change will be very difficult
25-
to test for. In those cases, please include a note in your commit
26-
message explaining why.
27-
28-
In the licensing header at the beginning of any files you change,
29-
please make sure the listed date range includes the current year. For
30-
example, if it's 2013, and you change a Rust file that was created in
31-
2010, it should begin:
20+
In the licensing header at the beginning of any files you change, please make sure the listed date range includes the current year.
21+
For example, if it's 2013, and you change a Rust file that was created in 2010, it should begin:
3222

3323
```
3424
// Copyright 2010-2013 The Rust Project Developers.
3525
```
3626

37-
For more details, please refer to
38-
[Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).
27+
For more details, please refer to [Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).

branches/snap-stage3/Makefile.in

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ifdef SAVE_TEMPS
111111
CFG_RUSTC_FLAGS += --save-temps
112112
endif
113113
ifdef ASM_COMMENTS
114-
CFG_RUSTC_FLAGS += -Z asm-comments
114+
CFG_RUSTC_FLAGS += -z asm-comments
115115
endif
116116
ifdef TIME_PASSES
117117
CFG_RUSTC_FLAGS += -Z time-passes
@@ -146,7 +146,8 @@ ifneq ($(wildcard $(CFG_GIT)),)
146146
ifneq ($(wildcard $(CFG_GIT_DIR)),)
147147
CFG_VERSION += $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
148148
--pretty=format:'(%h %ci)')
149-
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) rev-parse HEAD)
149+
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
150+
--pretty=format:'%H')
150151
endif
151152
endif
152153

@@ -208,6 +209,7 @@ CFG_STDLIB_$(1) :=$(call CFG_LIB_NAME_$(1),std)
208209
CFG_EXTRALIB_$(1) :=$(call CFG_LIB_NAME_$(1),extra)
209210
CFG_LIBRUSTC_$(1) :=$(call CFG_LIB_NAME_$(1),rustc)
210211
CFG_LIBSYNTAX_$(1) :=$(call CFG_LIB_NAME_$(1),syntax)
212+
CFG_LIBFUZZER_$(1) :=$(call CFG_LIB_NAME_$(1),fuzzer)
211213
CFG_LIBRUSTPKG_$(1) :=$(call CFG_LIB_NAME_$(1),rustpkg)
212214
CFG_LIBRUSTDOC_$(1) :=$(call CFG_LIB_NAME_$(1),rustdoc)
213215
CFG_LIBRUSTI_$(1) :=$(call CFG_LIB_NAME_$(1),rusti)
@@ -217,6 +219,7 @@ EXTRALIB_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),extra)
217219
STDLIB_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),std)
218220
LIBRUSTC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustc)
219221
LIBSYNTAX_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),syntax)
222+
LIBFUZZER_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),fuzzer)
220223
LIBRUSTPKG_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustpkg)
221224
LIBRUSTDOC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustdoc)
222225
LIBRUSTI_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rusti)
@@ -225,6 +228,7 @@ EXTRALIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),extra)
225228
STDLIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),std)
226229
LIBRUSTC_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustc)
227230
LIBSYNTAX_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),syntax)
231+
LIBFUZZER_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),fuzzer)
228232
LIBRUSTPKG_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustpkg)
229233
LIBRUSTDOC_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustdoc)
230234
LIBRUSTI_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rusti)
@@ -399,10 +403,12 @@ SREQ$(1)_T_$(2)_H_$(3) = \
399403
# Prerequisites for a working stageN compiler and libraries, for a specific target
400404
CSREQ$(1)_T_$(2)_H_$(3) = \
401405
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
406+
$$(HBIN$(1)_H_$(3))/fuzzer$$(X_$(3)) \
402407
$$(HBIN$(1)_H_$(3))/rustpkg$$(X_$(3)) \
403408
$$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3)) \
404409
$$(HBIN$(1)_H_$(3))/rusti$$(X_$(3)) \
405410
$$(HBIN$(1)_H_$(3))/rust$$(X_$(3)) \
411+
$$(HLIB$(1)_H_$(3))/$(CFG_LIBFUZZER_$(3)) \
406412
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTPKG_$(3)) \
407413
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTDOC_$(3)) \
408414
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTI_$(3)) \
@@ -411,6 +417,7 @@ CSREQ$(1)_T_$(2)_H_$(3) = \
411417
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_EXTRALIB_$(2)) \
412418
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBSYNTAX_$(2)) \
413419
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTC_$(2)) \
420+
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBFUZZER_$(2)) \
414421
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTPKG_$(2)) \
415422
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTDOC_$(2)) \
416423
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTI_$(2)) \

branches/snap-stage3/RELEASES.txt

Lines changed: 3 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -3,91 +3,12 @@ Version 0.7 (July 2013)
33

44
* ??? changes, numerous bugfixes
55

6-
* Syntax changes
7-
* `use mod` is no longer valid.
8-
* `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
9-
argument list.
10-
* `Encodable`, `Decodable`, `TotalOrd`, `TotalEq`, `DeepClone` can all
11-
be automatically derived with `#[deriving(...)]`.
12-
* The `Durable` trait is replaced with the `'static` bounds.
13-
* At long last, 'argument modes' no longer exist.
14-
* The `bytes!` macro returns a vector of bytes for string, u8, char,
15-
and unsuffixed integer literals.
16-
176
* Semantic changes
18-
* The borrow checker has been rewritten with flow-sensitivity, fixing
19-
many bugs and inconveniences.
20-
* The `self` parameter no longer implicitly means `&'self self`,
21-
and can be explicitly marked with a lifetime.
22-
* Structs with the `#[packed]` attribute have byte alignment and
23-
no padding between fields.
24-
* The `for` loop protocol now requires `for`-iterators to return `bool`
25-
so they compose better.
26-
* `Option<~T>` is now represented as a nullable pointer.
27-
* `@mut` does dynamic borrow checks correctly.
28-
* Macros TODO
29-
* The `main` function is only detected at the topmost level of the crate.
30-
The `#[main]` attribute is still valid anywhere.
31-
* Struct fields may no longer be mutable. Use inherited mutability.
32-
* The `#[non_owned]` attribute makes a type that would otherwise be
33-
`Owned`, not. TODO this may change to non_send before 0.7
34-
* The `#[mutable]` attribute makes a type that would otherwise be
35-
`Const`, note. TODO this may change to non_freeze before 0.7
36-
* Unbounded recursion will abort the process after reaching the limit
37-
specified by the `RUST_MAX_STACK` environment variable.
38-
* The `vecs_implicitly_copyable` lint mode has been removed. Vectors
39-
are never implicitly copyable.
7+
* The `self` parameter no longer implicitly means `&'self self`, and can be explicitly marked
8+
with a lifetime.
409

4110
* Libraries
42-
* The `core` crate was renamed to `std`.
43-
* The `std` crate was renamed to `extra`.
44-
* `std::mut` removed.
45-
* std: The prelude no longer reexports any modules, only types and traits.
46-
* std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
47-
`Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
48-
* std: `iterator` module for external iterator objects.
49-
* std: new numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
50-
`Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
51-
* std: Tuple traits and accessors defined for up to 12-tuples, e.g.
52-
`(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
53-
* std: many types implement `Clone` - tuples, @, @mut. TODO
54-
* std: `path` type renamed to `Path`.
55-
* std: Many standalone functions removed in favor of methods in
56-
`vec`, `str`. In the future methods will also work as functions.
57-
* std: `reinterpret_cast` removed. Used `transmute`.
58-
* std: ascii string handling in `std::ascii`.
59-
* std: `Rand` is implemented for ~/@.
60-
* std: `run` module for spawning processes overhauled.
61-
* std: Various atomic types added to `unstable::atomic`.
62-
* std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
63-
* std: Added `os::mkdir_recursive`.
64-
* std: Added `os::glob` function performs filesystems globs.
65-
* std: `FuzzyEq` renamed to `ApproxEq`.
66-
* std: `Map` now defines `pop` and `swap` methods.
67-
* extra: `flate` module moved from `std` to `extra`.
68-
* extra: `FileInput` implements `std::io::Reader`.
69-
* extra: `Complex` number type and `complex` module.
70-
* extra: `Rational` number type and `rational` module.
71-
* extra: `BigInt`, `BigUint` implement numeric and comparison traits.
72-
* extra: `term` uses terminfo now, is more correct.
73-
74-
* Tooling
75-
* `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks.
76-
* `unused_mut` lint mode for identifying unused `mut` qualifiers.
77-
* The `rusti` command has been rewritten and a number of bugs addressed.
78-
* rustc outputs in color on more terminals.
79-
* rustc accepts a `--link-args` flag to pass arguments to the linker.
80-
* rustc accepts a `-Z print-link-args` flag for debugging linkage.
81-
* Compiling with `-g` will make the binary record information about
82-
dynamic borrowcheck failures for debugging.
83-
* rustdoc has a nicer stylesheet.
84-
* Various improvements to rustdoc.
85-
86-
* Other
87-
* More and improved library documentation.
88-
* Various improvements on ARM and Android.
89-
* Various improvements to MIPS backend.
90-
* jemalloc is the Rust allocator.
11+
* New `core::iterator` module for external iterator objects
9112

9213
Version 0.6 (April 2013)
9314
------------------------

branches/snap-stage3/configure

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ validate_opt () {
138138
done
139139
if [ "$arg" = "--help" ]
140140
then
141-
echo
141+
echo ""
142142
echo "No more help available for Configure options,"
143143
echo "check the Uncyclo or join our IRC channel"
144144
break
@@ -349,11 +349,11 @@ if [ "$1" = "--help" ]
349349
then
350350
HELP=1
351351
shift
352-
echo
352+
echo ""
353353
echo "Usage: $CFG_SELF [options]"
354-
echo
354+
echo ""
355355
echo "Options:"
356-
echo
356+
echo ""
357357
else
358358
msg "recreating config.tmp"
359359
echo '' >config.tmp
@@ -394,7 +394,7 @@ validate_opt
394394

395395
if [ $HELP -eq 1 ]
396396
then
397-
echo
397+
echo ""
398398
exit 0
399399
fi
400400

@@ -561,7 +561,7 @@ then
561561
| cut -d ' ' -f 2)
562562

563563
case $CFG_CLANG_VERSION in
564-
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* )
564+
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3*)
565565
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
566566
CFG_C_COMPILER="clang"
567567
;;
@@ -683,8 +683,7 @@ do
683683
for i in \
684684
isaac linenoise sync test \
685685
arch/i386 arch/x86_64 arch/arm arch/mips \
686-
libuv libuv/src/ares libuv/src/eio libuv/src/ev \
687-
jemalloc
686+
libuv libuv/src/ares libuv/src/eio libuv/src/ev
688687
do
689688
make_dir rt/$t/stage$s/$i
690689
done
@@ -971,13 +970,6 @@ then
971970
putvar CFG_CCACHE_CPP2
972971
fi
973972

974-
if [ ! -z "$CFG_ENABLE_CCACHE" ]
975-
then
976-
CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
977-
putvar CFG_CCACHE_BASEDIR
978-
fi
979-
980-
981973
if [ ! -z $BAD_PANDOC ]
982974
then
983975
CFG_PANDOC=

0 commit comments

Comments
 (0)