Skip to content

Commit fe5b962

Browse files
committed
---
yaml --- r: 144957 b: refs/heads/try2 c: 49eb7bd h: refs/heads/master i: 144955: 4aba9af v: v3
1 parent 2a82efa commit fe5b962

File tree

262 files changed

+6982
-4046
lines changed

Some content is hidden

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

262 files changed

+6982
-4046
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 8f31377514db2b31227251472258fb2c971af6c3
8+
refs/heads/try2: 49eb7bd2716f59e0cd47c427a4c60f49e8ce6e50
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/rust.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3372,9 +3372,11 @@ The path to a module consists of the crate name, any parent modules,
33723372
then the module itself, all separated by double colons (`::`). The
33733373
optional log level can be appended to the module path with an equals
33743374
sign (`=`) followed by the log level, from 1 to 4, inclusive. Level 1
3375-
is the error level, 2 is warning, 3 info, and 4 debug. Any logs
3376-
less than or equal to the specified level will be output. If not
3377-
specified then log level 4 is assumed.
3375+
is the error level, 2 is warning, 3 info, and 4 debug. You can also
3376+
use the symbolic constants `error`, `warn`, `info`, and `debug`. Any
3377+
logs less than or equal to the specified level will be output. If not
3378+
specified then log level 4 is assumed. However, debug messages are
3379+
only available if `--cfg=debug` is passed to `rustc`.
33783380

33793381
As an example, to see all the logs generated by the compiler, you would set
33803382
`RUST_LOG` to `rustc`, which is the crate name (as specified in its `link`

branches/try2/doc/tutorial-container.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ for i in range(0, 5) {
200200
printf!("%d ", i) // prints "0 1 2 3 4"
201201
}
202202

203-
for i in std::iterator::range_inclusive(0, 5) { // needs explicit import
203+
for i in std::iter::range_inclusive(0, 5) { // needs explicit import
204204
printf!("%d ", i) // prints "0 1 2 3 4 5"
205205
}
206206
~~~

branches/try2/mk/rt.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ LIBUV_NO_LOAD = run-benchmarks.target.mk run-tests.target.mk \
176176

177177
export PYTHONPATH := $(PYTHONPATH):$$(S)src/gyp/pylib
178178

179-
$$(LIBUV_MAKEFILE_$(1)_$(2)):
179+
$$(LIBUV_MAKEFILE_$(1)_$(2)): $$(LIBUV_DEPS)
180180
(cd $(S)src/libuv/ && \
181-
./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) -D ninja \
181+
$$(CFG_PYTHON) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1)) -D ninja \
182182
-Goutput_dir=$$(@D) --generator-output $$(@D))
183183

184184
# XXX: Shouldn't need platform-specific conditions here

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ marking, press x, and ELPA will install the packages for you (under
6868

6969
* or using <kbd>M-x package-install rust-mode
7070

71+
### Tests via ERT
72+
73+
The file `rust-mode-tests.el` contains tests that can be run via ERT. You can
74+
use `run_rust_emacs_tests.sh` to run them in batch mode, if emacs is somewhere
75+
in your `$PATH`.
76+
7177
### Known bugs
7278

7379
* Combining `global-whitespace-mode` and `rust-mode` is generally glitchy.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This runs the test for emacs rust-mode.
2+
# It must be possible to find emacs via PATH.
3+
emacs -batch -l rust-mode.el -l rust-mode-tests.el -f ert-run-tests-batch-and-exit

0 commit comments

Comments
 (0)