Skip to content

Commit 5c64c7e

Browse files
committed
---
yaml --- r: 209629 b: refs/heads/try c: bd968a1 h: refs/heads/master i: 209627: f25cc72 v: v3
1 parent 45ea187 commit 5c64c7e

File tree

106 files changed

+2885
-2128
lines changed

Some content is hidden

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

106 files changed

+2885
-2128
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: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 4665c3bbfaac71793e057a253b4ca63b416ab175
5+
refs/heads/try: bd968a1d658da95f78b972fce6aae956eeedc37b
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#
7777
# * `CFG_ENABLE_VALGRIND=1` - Run tests under valgrind
7878
# * `VALGRIND_COMPILE=1` - Run the compiler itself under valgrind
79-
# (may require `CFG_ENABLE_VALGRIND`)
79+
# (requires `CFG_ENABLE_VALGRIND`)
8080
#
8181
# * `NO_REBUILD=1` - Don't rebootstrap when testing std
8282
# (and possibly other crates)

branches/try/mk/crates.mk

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,19 @@
5252
TARGET_CRATES := libc std flate arena term \
5353
serialize getopts collections test rand \
5454
log graphviz core rbml alloc \
55-
unicode rustc_bitflags
55+
rustc_unicode rustc_bitflags
5656
RUSTC_CRATES := rustc rustc_typeck rustc_borrowck rustc_resolve rustc_driver \
57-
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint
57+
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
58+
rustc_data_structures
5859
HOST_CRATES := syntax $(RUSTC_CRATES) rustdoc fmt_macros
5960
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
6061
TOOLS := compiletest rustdoc rustc rustbook
6162

6263
DEPS_core :=
6364
DEPS_libc := core
64-
DEPS_unicode := core
65+
DEPS_rustc_unicode := core
6566
DEPS_alloc := core libc native:jemalloc
66-
DEPS_std := core libc rand alloc collections unicode \
67+
DEPS_std := core libc rand alloc collections rustc_unicode \
6768
native:rust_builtin native:backtrace native:rustrt_native \
6869
rustc_bitflags
6970
DEPS_graphviz := std
@@ -80,9 +81,10 @@ DEPS_rustc_resolve := rustc log syntax
8081
DEPS_rustc_privacy := rustc log syntax
8182
DEPS_rustc_lint := rustc log syntax
8283
DEPS_rustc := syntax flate arena serialize getopts rbml \
83-
log graphviz rustc_llvm rustc_back
84+
log graphviz rustc_llvm rustc_back rustc_data_structures
8485
DEPS_rustc_llvm := native:rustllvm libc std
8586
DEPS_rustc_back := std syntax rustc_llvm flate log libc
87+
DEPS_rustc_data_structures := std log serialize
8688
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
8789
test rustc_lint
8890
DEPS_rustc_bitflags := core
@@ -94,7 +96,7 @@ DEPS_serialize := std log
9496
DEPS_rbml := std log serialize
9597
DEPS_term := std log
9698
DEPS_getopts := std
97-
DEPS_collections := core alloc unicode
99+
DEPS_collections := core alloc rustc_unicode
98100
DEPS_num := std
99101
DEPS_test := std getopts serialize rbml term native:rust_test_helpers
100102
DEPS_rand := core
@@ -115,11 +117,11 @@ ONLY_RLIB_libc := 1
115117
ONLY_RLIB_alloc := 1
116118
ONLY_RLIB_rand := 1
117119
ONLY_RLIB_collections := 1
118-
ONLY_RLIB_unicode := 1
120+
ONLY_RLIB_rustc_unicode := 1
119121
ONLY_RLIB_rustc_bitflags := 1
120122

121123
# Documented-by-default crates
122-
DOC_CRATES := std alloc collections core libc unicode
124+
DOC_CRATES := std alloc collections core libc rustc_unicode
123125

124126
################################################################################
125127
# You should not need to edit below this line

branches/try/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CFG_RELEASE_NUM=1.0.0
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)
21-
CFG_PRERELEASE_VERSION=.2
21+
CFG_PRERELEASE_VERSION=.3
2222

2323
CFG_FILENAME_EXTRA=4e7c5e5c
2424

branches/try/mk/platform.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ endif
4646
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
4747
ifdef CFG_VALGRIND
4848
CFG_VALGRIND += --error-exitcode=100 \
49-
--soname-synonyms=somalloc=NONE \
49+
--fair-sched=try \
5050
--quiet \
51+
--soname-synonyms=somalloc=NONE \
5152
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
5253
$(OS_SUPP)
5354
ifdef CFG_ENABLE_HELGRIND

branches/try/mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
# The names of crates that must be tested
1717

18-
# libcore/libunicode tests are in a separate crate
18+
# libcore/librustc_unicode tests are in a separate crate
1919
DEPS_coretest :=
2020
$(eval $(call RUST_CRATE,coretest))
2121

2222
DEPS_collectionstest :=
2323
$(eval $(call RUST_CRATE,collectionstest))
2424

25-
TEST_TARGET_CRATES = $(filter-out core unicode,$(TARGET_CRATES)) \
25+
TEST_TARGET_CRATES = $(filter-out core rustc_unicode,$(TARGET_CRATES)) \
2626
collectionstest coretest
2727
TEST_DOC_CRATES = $(DOC_CRATES)
2828
TEST_HOST_CRATES = $(filter-out rustc_typeck rustc_borrowck rustc_resolve \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Yes. Calling C code from Rust is simple and exactly as efficient as calling C co
124124

125125
Yes. The Rust code has to be exposed via an `extern` declaration, which makes it C-ABI compatible. Such a function can be passed to C code as a function pointer or, if given the `#[no_mangle]` attribute to disable symbol mangling, can be called directly from C code.
126126

127-
## Why aren't function signatures inferred? Why only local slots?
127+
## Why aren't function signatures inferred? Why only local variables?
128128

129129
* Mechanically, it simplifies the inference algorithm; inference only requires looking at one function at a time.
130130
* The same simplification goes double for human readers. A reader does not need an IDE running an inference algorithm across an entire crate to be able to guess at a function's argument types; it's always explicit and nearby.

branches/try/src/doc/grammar.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
This document is the primary reference for the Rust programming language grammar. It
66
provides only one kind of material:
77

8-
- Chapters that formally define the language grammar and, for each
9-
construct.
8+
- Chapters that formally define the language grammar.
109

1110
This document does not serve as an introduction to the language. Background
1211
familiarity with the language is assumed. A separate [guide] is available to
@@ -427,7 +426,7 @@ meta_seq : meta_item [ ',' meta_seq ] ? ;
427426
**FIXME:** grammar?
428427

429428
A _declaration statement_ is one that introduces one or more *names* into the
430-
enclosing statement block. The declared names may denote new slots or new
429+
enclosing statement block. The declared names may denote new variables or new
431430
items.
432431

433432
#### Item declarations
@@ -441,7 +440,7 @@ function, enumeration, structure, type, static, trait, implementation or module
441440
scope to a narrow region containing all of its uses; it is otherwise identical
442441
in meaning to declaring the item outside the statement block.
443442

444-
#### Slot declarations
443+
#### Variable declarations
445444

446445
```antlr
447446
let_decl : "let" pat [':' type ] ? [ init ] ? ';' ;
@@ -763,7 +762,7 @@ bound := path | lifetime
763762

764763
### Memory ownership
765764

766-
### Memory slots
765+
### Variables
767766

768767
### Boxes
769768

0 commit comments

Comments
 (0)