Skip to content

Commit f4f098d

Browse files
committed
---
yaml --- r: 123640 b: refs/heads/try c: 0e84d6f h: refs/heads/master v: v3
1 parent 08b7c4a commit f4f098d

File tree

184 files changed

+2769
-3619
lines changed

Some content is hidden

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

184 files changed

+2769
-3619
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: da4e4e4e0a7778a85748aa4a303b13f603e96b4b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8ddd286ea4ba4384a0dc9eae393ed515460a986e
5-
refs/heads/try: d9db7f6137122c1cf174518cc402e04d54c3c8c3
5+
refs/heads/try: 0e84d6fc1ae1267eaf38b9c518a6d8f68ff6305c
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/RELEASES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Version 0.9 (January 2014)
306306
* A new facility for enabling experimental features (feature gating) has
307307
been added, using the crate-level `#[feature(foo)]` attribute.
308308
* Managed boxes (@) are now behind a feature gate
309-
(`#[feature(managed_boxes)]`) in preparation for future removal. Use the
309+
(`#[feature(managed_boxes)]`) in preperation for future removal. Use the
310310
standard library's `Gc` or `Rc` types instead.
311311
* `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
312312
* Jumping back to the top of a loop is now done with `continue` instead of
@@ -398,7 +398,7 @@ Version 0.9 (January 2014)
398398
* std: `fmt::Default` can be implemented for any type to provide default
399399
formatting to the `format!` macro, as in `format!("{}", myfoo)`.
400400
* std: The `rand` API continues to be tweaked.
401-
* std: The `rust_begin_unwind` function, useful for inserting breakpoints
401+
* std: The `rust_begin_unwind` function, useful for insterting breakpoints
402402
on failure in gdb, is now named `rust_fail`.
403403
* std: The `each_key` and `each_value` methods on `HashMap` have been
404404
replaced by the `keys` and `values` iterators.
@@ -429,7 +429,7 @@ Version 0.9 (January 2014)
429429
extensible interfaces and is now implemented by two different crates:
430430
libnative, for native threading and I/O; and libgreen, for green threading
431431
and I/O. This paves the way for using the standard library in more limited
432-
embedded environments.
432+
embeded environments.
433433
* std: The `comm` module has been rewritten to be much faster, have a
434434
simpler, more consistent API, and to work for both native and green
435435
threading.

branches/try/mk/main.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
CFG_RELEASE_NUM=0.11.0
1717
CFG_RELEASE_LABEL=
1818

19-
CFG_FILENAME_EXTRA=4e7c5e5c
20-
2119
ifndef CFG_ENABLE_NIGHTLY
2220
# This is the normal version string
2321
CFG_RELEASE=$(CFG_RELEASE_NUM)$(CFG_RELEASE_LABEL)

branches/try/mk/target.mk

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ $(foreach host,$(CFG_HOST), \
6868
# $(4) is the crate name
6969
define RUST_TARGET_STAGE_N
7070

71-
# NOTE: after a stage0 snap this should be just EXTRA_FILENAME, not with a stage
72-
# or target bound
73-
EXTRA_FILENAME_$(1)_$(2) = -C extra-filename=-$$(CFG_FILENAME_EXTRA)
74-
ifeq ($(1),0)
75-
ifeq ($$(CFG_BUILD),$(2))
76-
EXTRA_FILENAME_$(1)_$(2) =
77-
endif
78-
endif
79-
8071
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2)
8172
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
8273
$$(CRATEFILE_$(4)) \
@@ -94,9 +85,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
9485
-L "$$(LLVM_LIBDIR_$(2))" \
9586
-L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
9687
$$(RUSTFLAGS_$(4)) \
97-
--out-dir $$(@D) \
98-
$$(EXTRA_FILENAME_$(1)_$(2)) \
99-
$$<
88+
--out-dir $$(@D) $$<
10089
@touch $$@
10190
$$(call LIST_ALL_OLD_GLOB_MATCHES,\
10291
$$(dir $$@)$$(call CFG_LIB_GLOB_$(2),$(4)))

branches/try/src/doc/guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ You should see some output that looks something like this:
9191

9292
```{ignore}
9393
rustc 0.11.0-pre (443a1cd 2014-06-08 14:56:52 -0700)
94+
host: x86_64-unknown-linux-gnu
9495
```
9596

9697
If you did, Rust has been installed successfully! Congrats!
@@ -736,10 +737,10 @@ let x = (let y = 5i); // found `let` in ident position
736737
The compiler is telling us here that it was expecting to see the beginning of
737738
an expression, and a `let` can only begin a statement, not an expression.
738739

739-
However, assigning to a variable binding is an expression:
740+
However, re-assigning to a mutable binding is an expression:
740741

741742
```{rust}
742-
let x;
743+
let mut x = 0i;
743744
let y = x = 5i;
744745
```
745746

@@ -894,14 +895,13 @@ fn add_one(x: int) -> int {
894895
We would get an error:
895896

896897
```{ignore,notrust}
898+
note: consider removing this semicolon:
899+
x + 1;
900+
^
897901
error: not all control paths return a value
898902
fn add_one(x: int) -> int {
899903
x + 1;
900904
}
901-
902-
note: consider removing this semicolon:
903-
x + 1;
904-
^
905905
```
906906

907907
Remember our earlier discussions about semicolons and `()`? Our function claims

branches/try/src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@ fn main() {
30383038
~~~{.ignore}
30393039
// `b/mod.rs`
30403040
pub mod c;
3041-
pub fn foo() { println!("Foo!"); }
3041+
pub fn foo() { println!("Foo!"; }
30423042
~~~
30433043

30443044
~~~{.ignore}

branches/try/src/etc/vim/ftplugin/rust.vim

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ setlocal formatoptions-=t formatoptions+=croqnl
3131
" j was only added in 7.3.541, so stop complaints about its nonexistence
3232
silent! setlocal formatoptions+=j
3333

34-
" smartindent will be overridden by indentexpr if filetype indent is on, but
35-
" otherwise it's better than nothing.
36-
setlocal smartindent nocindent
37-
38-
setlocal tabstop=4 shiftwidth=4 expandtab
39-
4034
" This includeexpr isn't perfect, but it's a good start
4135
setlocal includeexpr=substitute(v:fname,'::','/','g')
4236

branches/try/src/liballoc/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to
6161
//! the system malloc/free.
6262
63-
#![crate_id = "alloc#0.11.0"] // NOTE: remove after a stage0 snap
64-
#![crate_name = "alloc"]
63+
#![crate_id = "alloc#0.11.0"]
6564
#![experimental]
6665
#![license = "MIT/ASL2"]
6766
#![crate_type = "rlib"]
@@ -71,7 +70,6 @@
7170

7271
#![no_std]
7372
#![feature(lang_items, phase, unsafe_destructor)]
74-
#![allow(unused_attribute)] // NOTE: remove after stage0
7573

7674
#[phase(plugin, link)]
7775
extern crate core;

branches/try/src/libarena/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
//! more complex, slower Arena which can hold objects of any type.
2121
2222
#![crate_id = "arena#0.11.0"]
23-
#![crate_name = "arena"]
2423
#![experimental]
2524
#![crate_type = "rlib"]
2625
#![crate_type = "dylib"]
@@ -31,7 +30,6 @@
3130

3231
#![feature(unsafe_destructor)]
3332
#![allow(missing_doc)]
34-
#![allow(unused_attribute)] // NOTE: remove after stage0
3533

3634
use std::cell::{Cell, RefCell};
3735
use std::cmp;

0 commit comments

Comments
 (0)