Skip to content

Commit e761169

Browse files
committed
---
yaml --- r: 225013 b: refs/heads/stable c: 568d7f1 h: refs/heads/master i: 225011: 5c7a995 v: v3
1 parent ed29a9e commit e761169

File tree

316 files changed

+4176
-9111
lines changed

Some content is hidden

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

316 files changed

+4176
-9111
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 4daa62a55f906bd7ec7ad265cb23d49d9d0db66a
32+
refs/heads/stable: 568d7f196020ad47eabd831cf126eb8dde795e8d
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/AUTHORS.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aaron Raimist <[email protected]>
88
Aaron Todd <[email protected]>
99
Aaron Turon <[email protected]>
1010
Aaron Weiss <[email protected]>
11-
Abhishek Chanda <abhishek.becs@gmail.com>
11+
Abhishek Chanda <abhishek@cloudscaling.com>
1212
Adam Bozanich <[email protected]>
1313
Adam Jacob <[email protected]>
1414
Adam Roben <[email protected]>
@@ -736,7 +736,6 @@ Rob Hoelz <[email protected]>
736736
Robert Buonpastore <[email protected]>
737737
Robert Clipsham <[email protected]>
738738
Robert Gawdzik <[email protected]>
739-
Robert Foss <[email protected]>
740739
Robert Irelan <[email protected]>
741740
Robert Knight <[email protected]>
742741
Robert Millar <[email protected]>

branches/stable/README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
# The Rust Programming Language
22

3-
Rust is a systems programming language that is fast, memory safe and
4-
multithreaded, but does not employ a garbage collector or otherwise
5-
impose significant runtime overhead.
6-
7-
This repo contains the code for `rustc`, the Rust compiler, as well
8-
as standard libraries, tools and documentation for Rust.
3+
This is a compiler for Rust, including standard libraries, tools and
4+
documentation. Rust is a systems programming language that is fast,
5+
memory safe and multithreaded, but does not employ a garbage collector
6+
or otherwise impose significant runtime overhead.
97

108
## Quick Start
119

@@ -89,11 +87,9 @@ fetch snapshots, and an OS that can execute the available snapshot binaries.
8987

9088
Snapshot binaries are currently built and tested on several platforms:
9189

92-
| Platform \ Architecture | x86 | x86_64 |
93-
|--------------------------------|-----|--------|
94-
| Windows (7, 8, Server 2008 R2) |||
95-
| Linux (2.6.18 or later) |||
96-
| OSX (10.7 Lion or later) |||
90+
* Windows (7, 8, Server 2008 R2), x86 and x86-64 (64-bit support added in Rust 0.12.0)
91+
* Linux (2.6.18 or later, various distributions), x86 and x86-64
92+
* OSX 10.7 (Lion) or greater, x86 and x86-64
9793

9894
You may find that other platforms work, but these are our officially
9995
supported build environments that are most likely to work.

branches/stable/configure

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ probe() {
106106
T=$(command -v $P 2>&1)
107107
if [ $? -eq 0 ]
108108
then
109-
VER0=$($P --version 2>/dev/null \
110-
| grep -o '[vV]\?[0-9][0-9.][a-z0-9.-]*' | head -1 )
109+
VER0=$($P --version 2>/dev/null | head -1 \
110+
| sed -e 's/[^0-9]*\([vV]\?[0-9.]\+[^ ]*\).*/\1/' )
111111
if [ $? -eq 0 -a "x${VER0}" != "x" ]
112112
then
113113
VER="($VER0)"
@@ -711,20 +711,6 @@ else
711711
probe_need CFG_GIT git
712712
fi
713713

714-
# Use `md5sum` on GNU platforms, or `md5 -q` on BSD
715-
probe CFG_MD5 md5
716-
probe CFG_MD5SUM md5sum
717-
if [ -n "$CFG_MD5" ]
718-
then
719-
CFG_HASH_COMMAND="$CFG_MD5 -q | head -c 8"
720-
elif [ -n "$CFG_MD5SUM" ]
721-
then
722-
CFG_HASH_COMMAND="$CFG_MD5SUM | head -c 8"
723-
else
724-
err 'could not find one of: md5 md5sum'
725-
fi
726-
putvar CFG_HASH_COMMAND
727-
728714
probe CFG_CLANG clang++
729715
probe CFG_CCACHE ccache
730716
probe CFG_GCC gcc

branches/stable/mk/main.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,14 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.2.0
16+
CFG_RELEASE_NUM=1.1.0
1717

1818
# An optional number to put after the label, e.g. '.2' -> '-beta.2'
1919
# NB Make sure it starts with a dot to conform to semver pre-release
2020
# versions (section 9)
2121
CFG_PRERELEASE_VERSION=.1
2222

23-
# Append a version-dependent hash to each library, so we can install different
24-
# versions in the same place
25-
CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE) | $(CFG_HASH_COMMAND))
23+
CFG_FILENAME_EXTRA=4e7c5e5c
2624

2725
ifeq ($(CFG_RELEASE_CHANNEL),stable)
2826
# This is the normal semver version string, e.g. "0.12.0", "0.12.0-nightly"

branches/stable/src/doc/complement-design-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ feature.
7979
A nice replacement is the [lazy constructor macro][lcm] by [Marvin
8080
Löbel][kim].
8181

82-
[fqa]: http://yosefk.com/c++fqa/ctors.html#fqa-10.12
82+
[fqa]: https://mail.mozilla.org/pipermail/rust-dev/2013-April/003815.html
8383
[elp]: http://ericlippert.com/2013/02/06/static-constructors-part-one/
8484
[lcm]: https://gist.github.com/Kimundi/8782487
8585
[kim]: https://github.com/Kimundi

branches/stable/src/doc/complement-lang-faq.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
There aren't many large programs yet. The Rust [compiler][rustc], 60,000+ lines at the time of writing, is written in Rust. As the oldest body of Rust code it has gone through many iterations of the language, and some parts are nicer to look at than others. It may not be the best code to learn from, but [borrowck] and [resolve] were written recently.
66

77
[rustc]: https://github.com/rust-lang/rust/tree/master/src/librustc
8-
[resolve]: https://github.com/rust-lang/rust/tree/master/src/librustc_resolve
9-
[borrowck]: https://github.com/rust-lang/rust/tree/master/src/librustc_borrowck/borrowck
8+
[resolve]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/resolve.rs
9+
[borrowck]: https://github.com/rust-lang/rust/blob/master/src/librustc/middle/borrowck/
1010

1111
A research browser engine called [Servo][servo], currently 30,000+ lines across more than a dozen crates, will be exercising a lot of Rust's distinctive type-system and concurrency features, and integrating many native libraries.
1212

@@ -20,8 +20,8 @@ Some examples that demonstrate different aspects of the language:
2020
* The standard library's [json] module. Enums and pattern matching
2121

2222
[sprocketnes]: https://github.com/pcwalton/sprocketnes
23-
[hash]: https://github.com/rust-lang/rust/tree/master/src/libcore/hash
24-
[HashMap]: https://github.com/rust-lang/rust/tree/master/src/libstd/collections/hash
23+
[hash]: https://github.com/rust-lang/rust/blob/master/src/libstd/hash/mod.rs
24+
[HashMap]: https://github.com/rust-lang/rust/blob/master/src/libcollections/hashmap.rs
2525
[json]: https://github.com/rust-lang/rust/blob/master/src/libserialize/json.rs
2626

2727
You may also be interested in browsing [trending Rust repositories][github-rust] on GitHub.

branches/stable/src/doc/index.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ to jump to any particular section.
55

66
# Getting Started
77

8-
If you haven't seen Rust at all yet, the first thing you should read is the
9-
introduction to [The Rust Programming Language](book/index.html). It'll give
10-
you a good idea of what Rust is like.
8+
If you haven't seen Rust at all yet, the first thing you should read is the [30
9+
minute intro](intro.html). It will give you an overview of the basic ideas of Rust
10+
at a high level.
1111

12-
The book provides a lengthy explanation of Rust, its syntax, and its
13-
concepts. Upon completing the book, you'll be an intermediate Rust
14-
developer, and will have a good grasp of the fundamental ideas behind
15-
Rust.
12+
Once you know you really want to learn Rust, the next step is reading [The
13+
Rust Programming Language](book/index.html). It is a lengthy explanation of
14+
Rust, its syntax, and its concepts. Upon completing the book, you'll be an
15+
intermediate Rust developer, and will have a good grasp of the fundamental
16+
ideas behind Rust.
1617

1718
[Rust By Example][rbe] was originally a community resource, but was then
1819
donated to the Rust project. As the name implies, it teaches you Rust through a
@@ -23,7 +24,7 @@ series of small examples.
2324
# Community & Getting Help
2425

2526
If you need help with something, or just want to talk about Rust with others,
26-
there are a few places you can do that:
27+
there's a few places you can do that:
2728

2829
The Rust IRC channels on [irc.mozilla.org](http://irc.mozilla.org/) are the
2930
fastest way to get help.
@@ -58,7 +59,7 @@ the language in as much detail as possible is in [the reference](reference.html)
5859

5960
# Tools
6061

61-
Rust is still a young language, so there isn't a ton of tooling yet, but the
62+
Rust's still a young language, so there isn't a ton of tooling yet, but the
6263
tools we have are really nice.
6364

6465
[Cargo](http://crates.io) is Rust's package manager, and its website contains
@@ -68,21 +69,16 @@ lots of good documentation.
6869

6970
# FAQs
7071

71-
There are questions that are asked quite often, so we've made FAQs for them:
72+
There are questions that are asked quite often, and so we've made FAQs for them:
7273

7374
* [Language Design FAQ](complement-design-faq.html)
7475
* [Language FAQ](complement-lang-faq.html)
7576
* [Project FAQ](complement-project-faq.html)
7677
* [How to submit a bug report](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports)
7778

78-
# The Standard Library
79+
# The standard library
7980

8081
We have [API documentation for the entire standard
8182
library](std/index.html). There's a list of crates on the left with more
8283
specific sections, or you can use the search bar at the top to search for
8384
something if you know its name.
84-
85-
# The Error Index
86-
87-
If you encounter an error while compiling your code you may be able to look it
88-
up in the [Rust Compiler Error Index](error-index.html).

0 commit comments

Comments
 (0)