Skip to content

Commit 7c3e351

Browse files
committed
---
yaml --- r: 69374 b: refs/heads/auto c: 4c4cf00 h: refs/heads/master v: v3
1 parent b0bc027 commit 7c3e351

Some content is hidden

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

84 files changed

+1667
-2041
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: df67942dccc33379051e66f075615e579f3bdb49
17+
refs/heads/auto: 4c4cf003ea32d7617602fdbd1b2ebc8099633f06
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/doc/tutorial-container.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,14 @@ impl Iterator<int> for ZeroStream {
108108
## Container iterators
109109
110110
Containers implement iteration over the contained elements by returning an
111-
iterator object. For example, vector slices have four iterators available:
111+
iterator object. For example, vector slices several iterators available:
112112
113-
* `vector.iter()`, for immutable references to the elements
114-
* `vector.mut_iter()`, for mutable references to the elements
115-
* `vector.rev_iter()`, for immutable references to the elements in reverse order
116-
* `vector.mut_rev_iter()`, for mutable references to the elements in reverse order
113+
* `iter()` and `rev_iter()`, for immutable references to the elements
114+
* `mut_iter()` and `mut_rev_iter()`, for mutable references to the elements
115+
* `consume_iter()` and `consume_rev_iter`, to move the elements out by-value
116+
117+
A typical mutable container will implement at least `iter()`, `mut_iter()` and
118+
`consume_iter()` along with the reverse variants if it maintains an order.
117119
118120
### Freezing
119121

branches/auto/mk/tests.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,10 @@ TEST_SREQ$(1)_T_$(2)_H_$(3) = \
537537

538538
# Rules for the cfail/rfail/rpass/bench/perf test runner
539539

540+
# The tests select when to use debug configuration on their own;
541+
# remove directive, if present, from CFG_RUSTC_FLAGS (issue #7898).
542+
CTEST_RUSTC_FLAGS = $$(subst --cfg debug,,$$(CFG_RUSTC_FLAGS))
543+
540544
CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
541545
--compile-lib-path $$(HLIB$(1)_H_$(3)) \
542546
--run-lib-path $$(TLIB$(1)_T_$(2)_H_$(3)) \
@@ -548,7 +552,7 @@ CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
548552
--target $(2) \
549553
--adb-path=$(CFG_ADB) \
550554
--adb-test-dir=$(CFG_ADB_TEST_DIR) \
551-
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CFG_RUSTC_FLAGS) --target=$(2)" \
555+
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CTEST_RUSTC_FLAGS) --target=$(2)" \
552556
$$(CTEST_TESTARGS)
553557

554558
CTEST_DEPS_rpass_$(1)-T-$(2)-H-$(3) = $$(RPASS_TESTS)

branches/auto/src/etc/emacs/Makefile

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

branches/auto/src/etc/emacs/README.md

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,8 @@ file:
1313
(add-to-list 'load-path "/path/to/rust-mode/")
1414
(require 'rust-mode)
1515

16-
Make sure you byte-compile the .el files first, or the mode will be
17-
painfully slow. There is an included `Makefile` which will do it for
18-
you, so in the simplest case you can just run `make` and everything
19-
should Just Work.
20-
21-
If for some reason that doesn't work, you can byte compile manually,
22-
by pasting this in your `*scratch*` buffer, moving the cursor below
23-
it, and pressing `C-j`:
24-
25-
(progn
26-
(byte-compile-file "/path/to/rust-mode/cm-mode.el" t)
27-
(byte-compile-file "/path/to/rust-mode/rust-mode.el" t))
28-
29-
Rust mode will automatically be associated with .rs and .rc files. To
30-
enable it explicitly, do `M-x rust-mode`.
16+
Rust mode will automatically be associated with .rs files. To enable it
17+
explicitly, do `M-x rust-mode`.
3118

3219
### package.el installation via Marmalade or MELPA
3320

@@ -67,24 +54,6 @@ should upgrade in order to support installation from multiple sources.
6754
The ELPA archive is deprecated and no longer accepting new packages,
6855
so the version there (1.7.1) is very outdated.
6956

70-
#### Important
71-
72-
In order to have cm-mode properly initialized after compilation prior
73-
to rust-mode.el compilation you will need to add these `advices` to
74-
your init file or if you are a melpa user install the `melpa` package.
75-
76-
```lisp
77-
(defadvice package-download-tar
78-
(after package-download-tar-initialize activate compile)
79-
"initialize the package after compilation"
80-
(package-initialize))
81-
82-
(defadvice package-download-single
83-
(after package-download-single-initialize activate compile)
84-
"initialize the package after compilation"
85-
(package-initialize))
86-
```
87-
8857
#### Install rust-mode
8958

9059
From there you can install rust-mode or any other modes by choosing

branches/auto/src/etc/emacs/cm-mode.el

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

0 commit comments

Comments
 (0)