Skip to content

Commit a946868

Browse files
---
yaml --- r: 224894 b: refs/heads/tmp c: 5429c9b h: refs/heads/master v: v3
1 parent 64ce5c0 commit a946868

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
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: 83dee3dfbb452a7558193f3ce171b3c60bf4a499
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 1b5d52122e4dfa1cfd9d8c5afab931150269a7ff
28+
refs/heads/tmp: 5429c9be78a0d55424a65244b956ea50e79c1f1e
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: e58601ab085591c71a27ae82137fc313222c2270
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/.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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/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/tmp/src/doc/nomicon/README.md

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

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

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

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

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

0 commit comments

Comments
 (0)