Skip to content

Commit b7b73ef

Browse files
---
yaml --- r: 223245 b: refs/heads/auto c: 5429c9b h: refs/heads/master i: 223243: f0aae55 v: v3
1 parent ceccc2e commit b7b73ef

File tree

486 files changed

+4617
-12317
lines changed

Some content is hidden

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

486 files changed

+4617
-12317
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 1b5d52122e4dfa1cfd9d8c5afab931150269a7ff
11+
refs/heads/auto: 5429c9be78a0d55424a65244b956ea50e79c1f1e
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ sudo: false
2020
before_script:
2121
- ./configure --enable-ccache
2222
script:
23-
- make tidy check -j4
23+
- make tidy
24+
- make rustc-stage1 -j4
2425

2526
env:
2627
- CXX=/usr/bin/g++-4.7

branches/auto/RELEASES.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ Highlights
1616
jobs). It's not enabled by default, but will be "in the near
1717
future". It can be activated with the `-C codegen-units=N` flag to
1818
`rustc`.
19-
* This is the first release with [experimental support for linking
20-
with the MSVC linker and lib C on Windows (instead of using the GNU
21-
variants via MinGW)][win]. It is yet recommended only for the most
22-
intrepid Rusticians.
23-
* Benchmark compilations are showing a 30% improvement in
24-
bootstrapping over 1.1.
2519

2620
Breaking Changes
2721
----------------
@@ -37,10 +31,6 @@ Breaking Changes
3731
* [The `#[packed]` attribute is no longer silently accepted by the
3832
compiler][packed]. This attribute did nothing and code that
3933
mentioned it likely did not work as intended.
40-
* Associated type defaults are [now behind the
41-
`associated_type_defaults` feature gate][ad]. In 1.1 associated type
42-
defaults *did not work*, but could be mentioned syntactically. As
43-
such this breakage has minimal impact.
4434

4535
Language
4636
--------
@@ -56,11 +46,12 @@ Libraries
5646
`LinkedList`, `VecDeque`, `EnumSet`, `BinaryHeap`, `VecMap`,
5747
`BTreeSet` and `BTreeMap`. [RFC][extend-rfc].
5848
* The [`iter::once`] function returns an iterator that yields a single
59-
element, and [`iter::empty`] returns an iterator that yields no
49+
element.
50+
* The [`iter::empty`] function returns an iterator that yields no
6051
elements.
6152
* The [`matches`] and [`rmatches`] methods on `str` return iterators
6253
over substring matches.
63-
* [`Cell`] and [`RefCell`] both implement `Eq`.
54+
* [`Cell`] and [`RefCell`] both implement [`Eq`].
6455
* A number of methods for wrapping arithmetic are added to the
6556
integral types, [`wrapping_div`], [`wrapping_rem`],
6657
[`wrapping_neg`], [`wrapping_shl`], [`wrapping_shr`]. These are in
@@ -79,7 +70,7 @@ Libraries
7970
are used by code generators to emit implementations of [`Debug`].
8071
* `str` has new [`to_uppercase`][strup] and [`to_lowercase`][strlow]
8172
methods that convert case, following Unicode case mapping.
82-
* It is now easier to handle poisoned locks. The [`PoisonError`]
73+
* It is now easier to handle to poisoned locks. The [`PoisonError`]
8374
type, returned by failing lock operations, exposes `into_inner`,
8475
`get_ref`, and `get_mut`, which all give access to the inner lock
8576
guard, and allow the poisoned lock to continue to operate. The
@@ -153,8 +144,6 @@ Misc
153144
[dst]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
154145
[parcodegen]: https://github.com/rust-lang/rust/pull/26018
155146
[packed]: https://github.com/rust-lang/rust/pull/25541
156-
[ad]: https://github.com/rust-lang/rust/pull/27382
157-
[win]: https://github.com/rust-lang/rust/pull/25350
158147

159148
Version 1.1.0 (June 2015)
160149
=========================

branches/auto/configure

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,9 +1005,11 @@ then
10051005
(''|*clang)
10061006
CFG_CLANG_REPORTED_VERSION=$($CFG_CC --version | grep version)
10071007

1008-
if echo $CFG_CLANG_REPORTED_VERSION | grep -q "(based on LLVM "; then
1008+
if [[ $CFG_CLANG_REPORTED_VERSION == *"(based on LLVM "* ]]
1009+
then
10091010
CFG_CLANG_VERSION=$(echo $CFG_CLANG_REPORTED_VERSION | sed 's/.*(based on LLVM \(.*\))/\1/')
1010-
elif echo $CFG_CLANG_REPORTED_VERSION | grep -q "Apple LLVM"; then
1011+
elif [[ $CFG_CLANG_REPORTED_VERSION == "Apple LLVM"* ]]
1012+
then
10111013
CFG_OSX_CLANG_VERSION=$(echo $CFG_CLANG_REPORTED_VERSION | sed 's/.*version \(.*\) .*/\1/')
10121014
else
10131015
CFG_CLANG_VERSION=$(echo $CFG_CLANG_REPORTED_VERSION | sed 's/.*version \(.*\) .*/\1/')

branches/auto/mk/ctags.mk

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,24 @@
1515

1616
.PHONY: TAGS.emacs TAGS.vi
1717

18-
CTAGS_LOCATIONS=$(wildcard ${CFG_SRC_DIR}src/lib*)
19-
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/librust%,, \
20-
$(patsubst ${CFG_SRC_DIR}src/lib%test,, \
21-
$(wildcard ${CFG_SRC_DIR}src/lib*))) ${CFG_SRC_DIR}src/libtest
22-
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse ${CTAGS_LOCATIONS}
18+
# This is using a blacklist approach, probably more durable than a whitelist.
19+
# We exclude: external dependencies (llvm, rt/{msvc,vg}),
20+
# tests (compiletest, test) and a couple of other things (rt/arch, etc)
21+
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/llvm,, \
22+
$(patsubst ${CFG_SRC_DIR}src/compiletest,, \
23+
$(patsubst ${CFG_SRC_DIR}src/test,, \
24+
$(patsubst ${CFG_SRC_DIR}src/etc,, \
25+
$(patsubst ${CFG_SRC_DIR}src/rt,, \
26+
$(patsubst ${CFG_SRC_DIR}src/rt/arch,, \
27+
$(patsubst ${CFG_SRC_DIR}src/rt/msvc,, \
28+
$(patsubst ${CFG_SRC_DIR}src/rt/vg,, \
29+
$(wildcard ${CFG_SRC_DIR}src/*) $(wildcard ${CFG_SRC_DIR}src/rt/*) \
30+
))))))))
31+
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=-javascript --recurse ${CTAGS_LOCATIONS}
32+
# We could use `--languages=Rust`, but there is value in producing tags for the
33+
# C++ parts of the code base too (at the time of writing, those are .h and .cpp
34+
# files in src/rt, src/rt/sync and src/rustllvm); we mainly just want to
35+
# exclude the external dependencies.
2336

2437
TAGS.emacs:
2538
ctags -e -f $@ ${CTAGS_OPTS}

branches/auto/mk/docs.mk

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ERR_IDX_GEN = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
7777

7878
D := $(S)src/doc
7979

80-
DOC_TARGETS := trpl nomicon style error-index
80+
DOC_TARGETS := trpl style error-index
8181
COMPILER_DOC_TARGETS :=
8282
DOC_L10N_TARGETS :=
8383

@@ -287,13 +287,6 @@ doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
287287
$(Q)rm -rf doc/book
288288
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book
289289

290-
nomicon: doc/nomicon/index.html
291-
292-
doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) | doc/
293-
@$(call E, rustbook: $@)
294-
$(Q)rm -rf doc/nomicon
295-
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon
296-
297290
style: doc/style/index.html
298291

299292
doc/style/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/style/*.md) | doc/

branches/auto/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.4.0
16+
CFG_RELEASE_NUM=1.3.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

branches/auto/mk/tests.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ $(foreach doc,$(DOCS), \
162162
$(eval $(call DOCTEST,md-$(doc),$(S)src/doc/$(doc).md)))
163163
$(foreach file,$(wildcard $(S)src/doc/trpl/*.md), \
164164
$(eval $(call DOCTEST,$(file:$(S)src/doc/trpl/%.md=trpl-%),$(file))))
165-
$(foreach file,$(wildcard $(S)src/doc/nomicon/*.md), \
166-
$(eval $(call DOCTEST,$(file:$(S)src/doc/nomicon/%.md=nomicon-%),$(file))))
165+
167166
######################################################################
168167
# Main test targets
169168
######################################################################

branches/auto/src/doc/nomicon/README.md

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

branches/auto/src/doc/nomicon/SUMMARY.md

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

branches/auto/src/doc/nomicon/arc-and-mutex.md

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

0 commit comments

Comments
 (0)