Skip to content

Commit ca8df2d

Browse files
committed
---
yaml --- r: 98223 b: refs/heads/master c: d2e3133 h: refs/heads/master i: 98221: 045aa3f 98219: f601931 98215: e75d207 98207: 57844fd v: v3
1 parent ccb6439 commit ca8df2d

File tree

690 files changed

+46459
-27340
lines changed

Some content is hidden

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

690 files changed

+46459
-27340
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: c0578b4a4132c3c3117fe33a4e3c9e0b134ccaff
2+
refs/heads/master: d2e31338779f177c596f08be863c71ea550bcb97
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/AUTHORS.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ Lindsey Kuper <[email protected]>
225225
Luca Bruno <[email protected]>
226226
Luis de Bethencourt <[email protected]>
227227
Luqman Aden <[email protected]>
228-
229228
Magnus Auvinen <[email protected]>
230229
Mahmut Bulut <[email protected]>
231230
maikklein <[email protected]>
@@ -241,7 +240,6 @@ Martin DeMello <[email protected]>
241240
Marvin Löbel <[email protected]>
242241
Matt Brubeck <[email protected]>
243242
Matt Carberry <[email protected]>
244-
Matthew Auld <[email protected]>
245243
Matthew Iselin <[email protected]>
246244
Matthew McPherrin <[email protected]>
247245
Matthew O'Connor <[email protected]>

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: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# stageN - this is the system root, corresponding to, e.g. /usr
3434
# bin - binaries compiled for the host
3535
# lib - libraries used by the host compiler
36-
# rustlib - rustc's own place to organize libraries
36+
# rustc - rustc's own place to organize libraries
3737
# $(target) - target-specific artifacts
3838
# bin - binaries for target architectures
3939
# lib - libraries for target architectures
@@ -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"\ ")
@@ -371,9 +371,6 @@ DRIVER_CRATE := $(S)src/driver/driver.rs
371371
LLVM_COMPONENTS=x86 arm mips ipo bitreader bitwriter linker asmparser jit mcjit \
372372
interpreter instrumentation
373373

374-
# Only build these LLVM tools
375-
LLVM_TOOLS=bugpoint llc llvm-ar llvm-as llvm-dis llvm-mc opt
376-
377374
define DEF_LLVM_VARS
378375
# The configure script defines these variables with the target triples
379376
# separated by Z. This defines new ones with the expected format.
@@ -413,15 +410,11 @@ export CFG_SRC_DIR
413410
export CFG_BUILD_DIR
414411
export CFG_VERSION
415412
export CFG_VERSION_WIN
416-
export CFG_RELEASE
417413
export CFG_BUILD
418414
export CFG_LLVM_ROOT
419415
export CFG_ENABLE_MINGW_CROSS
420416
export CFG_PREFIX
421417
export CFG_LIBDIR
422-
export CFG_RUSTLIBDIR
423-
export CFG_LIBDIR_RELATIVE
424-
export CFG_DISABLE_INJECT_STD_VERSION
425418

426419
######################################################################
427420
# Subprograms
@@ -439,12 +432,12 @@ define SREQ
439432
# Destinations of artifacts for the host compiler
440433
HROOT$(1)_H_$(3) = $(3)/stage$(1)
441434
HBIN$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/bin
442-
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR_RELATIVE)
435+
HLIB$(1)_H_$(3) = $$(HROOT$(1)_H_$(3))/$$(CFG_LIBDIR)
443436

444437
# Destinations of artifacts for target architectures
445-
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/$$(CFG_RUSTLIBDIR)/$(2)
438+
TROOT$(1)_T_$(2)_H_$(3) = $$(HLIB$(1)_H_$(3))/rustc/$(2)
446439
TBIN$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/bin
447-
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/lib
440+
TLIB$(1)_T_$(2)_H_$(3) = $$(TROOT$(1)_T_$(2)_H_$(3))/$$(CFG_LIBDIR)
448441

449442
# The name of the standard and extra libraries used by rustc
450443
HSTDLIB_DEFAULT$(1)_H_$(3) = \

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/RELEASES.txt

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Version 0.9 (January 2014)
22
--------------------------
33

4-
* ~1800 changes, numerous bugfixes
4+
* ~1600 changes, numerous bugfixes
55

66
* Language
77
* The `float` type has been removed. Use `f32` or `f64` instead.
@@ -22,9 +22,6 @@ Version 0.9 (January 2014)
2222
* `@fn`s have been removed.
2323
* `do` only works with procs in order to make it obvious what the cost
2424
of `do` is.
25-
* Single-element tuple-like structs can no longer be dereferenced to
26-
obtain the inner value. A more comprehensive solution for overloading
27-
the dereference operator will be provided in the future.
2825
* The `#[link(...)]` attribute has been replaced with
2926
`#[crate_id = "name#vers"]`.
3027
* Empty `impl`s must be terminated with empty braces and may not be
@@ -35,8 +32,6 @@ Version 0.9 (January 2014)
3532
* `printf!` and `printfln!` (old-style formatting) removed in favor of
3633
`print!` and `println!`.
3734
* `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
38-
* The `extern mod foo (name = "bar")` syntax has been removed. Use
39-
`extern mod foo = "bar"` instead.
4035
* New reserved keywords: `alignof`, `offsetof`, `sizeof`.
4136
* Macros can have attributes.
4237
* Macros can expand to items with attributes.
@@ -81,7 +76,6 @@ Version 0.9 (January 2014)
8176
variables. Currently behind the `thread_local` feature gate.
8277
* The `return` keyword may be used in closures.
8378
* Types that can be copied via a memcpy implement the `Pod` kind.
84-
* The `cfg` attribute can now be used on struct fields and enum variants.
8579

8680
* Libraries
8781
* std: The `option` and `result` API's have been overhauled to make them
@@ -96,14 +90,9 @@ Version 0.9 (January 2014)
9690
* std: The reference counted pointer type `extra::rc` moved into std.
9791
* std: The `Gc` type in the `gc` module will replace `@` (it is currently
9892
just a wrapper around it).
99-
* std: The `Either` type has been removed.
10093
* std: `fmt::Default` can be implemented for any type to provide default
10194
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
10295
* std: The `rand` API continues to be tweaked.
103-
* std: The `rust_begin_unwind` function, useful for insterting breakpoints
104-
on failure in gdb, is now named `rust_fail`.
105-
* std: The `each_key` and `each_value` methods on `HashMap` have been
106-
replaced by the `keys` and `values` iterators.
10796
* std: Functions dealing with type size and alignment have moved from the
10897
`sys` module to the `mem` module.
10998
* std: The `path` module was written and API changed.

0 commit comments

Comments
 (0)