Skip to content

Commit b09a39e

Browse files
committed
---
yaml --- r: 98062 b: refs/heads/master c: 58097c1 h: refs/heads/master v: v3
1 parent d9bec23 commit b09a39e

File tree

484 files changed

+23981
-9174
lines changed

Some content is hidden

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

484 files changed

+23981
-9174
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: cb9c1023921aa94dfe38143ba7bf8e14177de235
2+
refs/heads/master: 58097c1a73d2e6e2bbefc1880f68133b16654629
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: b6400f998497c3958f40997a71756ead344a776d
55
refs/heads/try: c274a6888410ce3e357e014568b43310ed787d36

trunk/.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ src/.DS_Store
7979
/doc/native
8080
/doc/rustc
8181
/doc/syntax
82-
/doc/rustuv
83-
/doc/rustpkg
8482
/nd/
8583
/llvm/
8684
version.md
@@ -97,4 +95,3 @@ src/etc/dl
9795
build/
9896
i686-pc-mingw32/
9997
src/librustc/lib/llvmdeps.rs
100-
*.pot

trunk/.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[submodule "src/llvm"]
22
path = src/llvm
3-
url = https://github.com/rust-lang/llvm.git
3+
url = https://github.com/luqmana/llvm.git
44
branch = master
55
[submodule "src/libuv"]
66
path = src/libuv
7-
url = https://github.com/rust-lang/libuv.git
7+
url = https://github.com/alexcrichton/libuv.git
88
branch = master
99
[submodule "src/gyp"]
1010
path = src/gyp
11-
url = https://github.com/rust-lang/gyp.git
11+
url = https://github.com/alexcrichton/gyp.git

trunk/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
If you're just reporting a bug, please see:
44

5-
http://static.rust-lang.org/doc/master/complement-bugreport.html
5+
https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
66

77
## Pull request procedure
88

trunk/COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ terms.
66

77
Longer version:
88

9-
The Rust Project is copyright 2014, The Rust Project
9+
The Rust Project is copyright 2013, The Rust Project
1010
Developers (given in the file AUTHORS.txt).
1111

1212
Licensed under the Apache License, Version 2.0

trunk/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Copyright (c) 2006-2009 Graydon Hoare
2-
Copyright (c) 2009-2014 Mozilla Foundation
2+
Copyright (c) 2009-2013 Mozilla Foundation
33

44
Permission is hereby granted, free of charge, to any
55
person obtaining a copy of this software and associated

trunk/Makefile.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,11 @@ endif
154154

155155
# version-string calculation
156156
CFG_GIT_DIR := $(CFG_SRC_DIR).git
157-
CFG_RELEASE = 0.10-pre
157+
CFG_RELEASE = 0.9
158158
CFG_VERSION = $(CFG_RELEASE)
159159
# windows exe's need numeric versions - don't use anything but
160160
# numbers and dots here
161-
CFG_VERSION_WIN = 0.10
161+
CFG_VERSION_WIN = 0.9
162162

163163
# since $(CFG_GIT) may contain spaces (especially on Windows),
164164
# we need to escape them. (" " to r"\ ")
@@ -410,7 +410,6 @@ export CFG_SRC_DIR
410410
export CFG_BUILD_DIR
411411
export CFG_VERSION
412412
export CFG_VERSION_WIN
413-
export CFG_RELEASE
414413
export CFG_BUILD
415414
export CFG_LLVM_ROOT
416415
export CFG_ENABLE_MINGW_CROSS

trunk/README.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,50 @@ documentation.
77

88
### Windows
99

10-
1. Download and use the [installer and MinGW][win-wiki].
10+
1. Download and use the [installer][win-exe].
1111
2. Read the [tutorial].
1212
2. Enjoy!
1313

14-
> ***Note:*** Windows users can read the detailed
15-
> [getting started][wiki-start] notes on the wiki.
14+
> ***Note:*** Windows users should read the detailed
15+
> [getting started][wiki-start] notes on the wiki. Even when using
16+
> the binary installer the Windows build requires a MinGW installation,
17+
> the precise details of which are not discussed here.
1618
1719
[tutorial]: http://static.rust-lang.org/doc/tutorial.html
1820
[wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust
19-
[win-wiki]: https://github.com/mozilla/rust/wiki/Using-Rust-on-Windows
21+
[win-exe]: http://static.rust-lang.org/dist/rust-0.9-install.exe
2022

2123
### Linux / OS X
2224

23-
1. Make sure you have installed the dependencies:
24-
* `g++` 4.4 or `clang++` 3.x
25-
* `python` 2.6 or later (but not 3.x)
26-
* `perl` 5.0 or later
27-
* GNU `make` 3.81 or later
28-
* `curl`
29-
2. Download and build Rust:
30-
25+
1. Install the prerequisites (if not already installed)
26+
* g++ 4.4 or clang++ 3.x
27+
* python 2.6 or later (but not 3.x)
28+
* perl 5.0 or later
29+
* gnu make 3.81 or later
30+
* curl
31+
2. Download and build Rust
3132
You can either download a [tarball] or build directly from the [repo].
32-
33+
3334
To build from the [tarball] do:
34-
35+
3536
$ curl -O http://static.rust-lang.org/dist/rust-0.9.tar.gz
3637
$ tar -xzf rust-0.9.tar.gz
3738
$ cd rust-0.9
38-
39+
3940
Or to build from the [repo] do:
4041

4142
$ git clone https://github.com/mozilla/rust.git
4243
$ cd rust
4344

4445
Now that you have Rust's source code, you can configure and build it:
45-
46+
4647
$ ./configure
4748
$ make && make install
48-
49-
> ***Note:*** You may need to use `sudo make install` if you do not normally have
50-
> permission to modify the destination directory. The install locations can
51-
> be adjusted by passing a `--prefix` argument to `configure`. Various other
52-
> options are also supported, pass `--help` for more information on them.
49+
50+
You may need to use `sudo make install` if you do not normally have
51+
permission to modify the destination directory. The install locations can
52+
be adjusted by passing a `--prefix` argument to `configure`. Various other
53+
options are also supported, pass `--help` for more information on them.
5354

5455
When complete, `make install` will place several programs into
5556
`/usr/local/bin`: `rustc`, the Rust compiler; `rustdoc`, the
@@ -75,20 +76,22 @@ Snapshot binaries are currently built and tested on several platforms:
7576
* Linux (various distributions), x86 and x86-64
7677
* OSX 10.6 ("Snow Leopard") or greater, x86 and x86-64
7778

78-
You may find that other platforms work, but these are our officially
79+
You may find that other platforms work, but these are our "tier 1"
7980
supported build environments that are most likely to work.
8081

81-
Rust currently needs about 1.5 GiB of RAM to build without swapping; if it hits
82+
Rust currently needs about 1.8G of RAM to build without swapping; if it hits
8283
swap, it will take a very long time to build.
8384

84-
There is a lot more documentation in the [wiki].
85+
There is lots more documentation in the [wiki].
8586

8687
[wiki]: https://github.com/mozilla/rust/wiki
8788

89+
8890
## License
8991

9092
Rust is primarily distributed under the terms of both the MIT license
9193
and the Apache License (Version 2.0), with portions covered by various
9294
BSD-like licenses.
9395

9496
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
97+

trunk/configure

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,11 @@ do
782782
# target lib dir
783783
make_dir $h/stage$i/$LIBDIR_RELATIVE/$CFG_RUSTLIBDIR/$t/lib
784784
done
785+
786+
# Fix stage0:
787+
make_dir $h/stage0/$LIBDIR_RELATIVE/rustc/$t/bin
788+
make_dir $h/stage0/$LIBDIR_RELATIVE/rustc/$t/$LIBDIR_RELATIVE
789+
785790
done
786791

787792
make_dir $h/test/run-pass
@@ -801,7 +806,6 @@ do
801806
make_dir $h/test/doc-guide-container
802807
make_dir $h/test/doc-guide-tasks
803808
make_dir $h/test/doc-guide-conditions
804-
make_dir $h/test/doc-complement-cheatsheet
805809
make_dir $h/test/doc-rust
806810
done
807811

trunk/doc/README

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Pandoc, a universal document converter, is required to generate docs as HTML
2+
from Rust's source code. It's available for most platforms here:
3+
http://johnmacfarlane.net/pandoc/installing.html
4+
5+
Node.js (http://nodejs.org/) is also required for generating HTML from
6+
the Markdown docs (reference manual, tutorials, etc.) distributed with
7+
this git repository.
8+
9+
To generate all the docs, run `make docs` from the root of the repository.
10+
This will convert the distributed Markdown docs to HTML and generate HTML doc
11+
for the 'std' and 'extra' libraries.
12+
13+
To generate HTML documentation from one source file/crate, do something like:
14+
15+
rustdoc --output-dir html-doc/ --output-format html ../src/libstd/path.rs
16+
17+
(This, of course, requires that you've built/installed the `rustdoc` tool.)
18+
19+
To generate an HTML version of a doc from Markdown, without having Node.js
20+
installed, do something like:
21+
22+
pandoc --from=markdown --to=html5 --number-sections -o rust.html rust.md
23+
24+
The syntax for pandoc flavored markdown can be found at:
25+
http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown
26+
27+
A nice quick reference (for non-pandoc markdown) is at:
28+
http://kramdown.rubyforge.org/quickref.html

trunk/doc/README.md

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

trunk/doc/complement-bugreport.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
1-
% How to submit a Rust bug report
1+
% HOWTO submit a RUST bug report
22

33
# I think I found a bug in the compiler!
44

5-
If you see this message: `error: internal compiler error: unexpected failure`,
5+
If you see this message: ''error: internal compiler error: unexpected failure'',
66
then you have definitely found a bug in the compiler. It's also possible that
77
your code is not well-typed, but if you saw this message, it's still a bug in
88
error reporting.
99

10-
If you see a message about an LLVM assertion failure, then you have also
10+
If you see a message about an LLVM assertion failure, then you have also
1111
definitely found a bug in the compiler. In both of these cases, it's not your
1212
fault and you should report a bug!
1313

14-
If you see a compiler error message that you think is meant for users to see,
14+
If you see a compiler error message that you think is meant for users to see,
1515
but it confuses you, *that's a bug too*. If it wasn't clear to you, then it's
1616
an error message we want to improve, so please report it so that we can try
1717
to make it better.
1818

19-
# How do I know the bug I found isn't a bug that already exists in the issue tracker?
19+
# I don't want to waste the Rust devs' time! How do I know the bug I found isn't a bug that already exists in the issue tracker?
2020

21-
If you don't have enough time for a search, then don't worry about that. Just submit
22-
the bug. If it's a duplicate, somebody will notice that and close it during triage.
21+
If you don't have much time, then don't worry about that. Just submit the bug.
22+
If it's a duplicate, somebody will notice that and close it. No one will laugh
23+
at you, we promise (and if someone did, they would be violating the Rust
24+
[code of conduct](https://github.com/mozilla/rust/wiki/Note-development-policy code of conduct)).
2325

24-
If you have the time for it, it would be useful to type the text of the error
26+
If you have more time, it's very helpful if you can type the text of the error
2527
message you got [into the issue tracker search box](https://github.com/mozilla/rust/issues)
2628
to see if there's an existing bug that resembles your problem. If there is,
27-
and it's an open bug, you can comment on that issue and say you are also affected.
28-
This will encourage the devs to fix it. But again, don't let this stop you from
29+
and it's an open bug, you can comment on that issue and say you ran into it too.
30+
This will encourage devs to fix it. But again, don't let this stop you from
2931
submitting a bug. We'd rather have to do the work of closing duplicates than
3032
miss out on valid bug reports.
3133

3234
# What information should I include in a bug report?
3335

34-
It generally helps our diagnosis to include your specific OS (for example: Mac OS X 10.8.3,
35-
Windows 7, Ubuntu 12.04) and your hardware architecture (for example: i686, x86_64).
36+
It's helpful to include your specific OS (for example: Mac OS X 10.8.3,
37+
Windows 7, Ubuntu 12.0.4) and your hardware architecture (for example: i686, x86_64).
3638
It's also helpful to copy/paste the output of re-running the erroneous rustc
37-
command with the `-v` flag. Finally, if you can run the offending command under gdb,
38-
pasting a stack trace can be useful; to do so, you will need to set a breakpoint on `rust_fail`.
39+
commmand with the `-v` flag. Finally, if you can run the offending command under gdb,
40+
pasting a stack trace can be useful; to do so, you will need to set a breakpoint on `rust_begin_unwind`.
3941

40-
# I submitted a bug, but nobody has commented on it!
42+
# I submitted a bug, but nobody has commented on it! I'm sad.
4143

42-
This is sad, but does happen sometimes, since we're short-staffed. If you
44+
This is sad, but does happen sometimes, since we're short-staffed. If you
4345
submit a bug and you haven't received a comment on it within 3 business days,
4446
it's entirely reasonable to either ask on the #rust IRC channel,
4547
or post on the [rust-dev mailing list](https://mail.mozilla.org/listinfo/rust-dev)

0 commit comments

Comments
 (0)