Skip to content

Commit a2d2efc

Browse files
committed
---
yaml --- r: 125119 b: refs/heads/master c: 6444b5e h: refs/heads/master i: 125117: ddc08d2 125115: e728850 125111: b8797a8 125103: d2ea17f 125087: fd80732 125055: 5c7a026 v: v3
1 parent 5781c3c commit a2d2efc

File tree

281 files changed

+1082
-2185
lines changed

Some content is hidden

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

281 files changed

+1082
-2185
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d114ddac030d6ed63b3076ccc0e7db081c0a9409
2+
refs/heads/master: 6444b5e82bd06dd1fb907221d6c91464276532c5
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
55
refs/heads/try: e1ef32c61a81d3655803acf1d21eafb7fb360be6

trunk/mk/grammar.mk

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SG = $(S)src/grammar/
1313
B = $(CFG_BUILD_DIR)/$(CFG_BUILD)/stage2/
1414
L = $(B)lib/rustlib/$(CFG_BUILD)/lib
1515
LD = $(CFG_BUILD)/stage2/lib/rustlib/$(CFG_BUILD)/lib/
16-
RUSTC = $(STAGE2_T_$(CFG_BUILD)_H_$(CFG_BUILD))
16+
RUSTC = $(B)bin/rustc
1717

1818
# Run the reference lexer against libsyntax and compare the tokens and spans.
1919
# If "// ignore-lexer-test" is present in the file, it will be ignored.
@@ -37,25 +37,19 @@ $(BG)RustLexer.class: $(SG)RustLexer.g4
3737
$(BG)verify: $(SG)verify.rs rustc-stage2-H-$(CFG_BUILD) $(LD)stamp.regex_macros $(LD)stamp.rustc
3838
$(Q)$(RUSTC) -O --out-dir $(BG) -L $(L) $(SG)verify.rs
3939

40+
check-lexer: $(BG) $(BG)RustLexer.class $(BG)verify
4041
ifdef CFG_JAVAC
4142
ifdef CFG_ANTLR4
4243
ifdef CFG_GRUN
43-
check-lexer: $(BG) $(BG)RustLexer.class $(BG)verify
4444
$(info Verifying libsyntax against the reference lexer ...)
4545
$(Q)$(SG)check.sh $(S) "$(BG)" \
4646
"$(CFG_GRUN)" "$(BG)verify" "$(BG)RustLexer.tokens"
4747
else
48-
$(info cfg: grun not available, skipping lexer test...)
49-
check-lexer:
50-
48+
$(info grun not available, skipping lexer test...)
5149
endif
5250
else
53-
$(info cfg: antlr4 not available, skipping lexer test...)
54-
check-lexer:
55-
51+
$(info antlr4 not available, skipping lexer test...)
5652
endif
5753
else
58-
$(info cfg: javac not available, skipping lexer test...)
59-
check-lexer:
60-
54+
$(info javac not available, skipping lexer test...)
6155
endif

trunk/mk/tests.mk

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,41 +171,28 @@ endif
171171
# Main test targets
172172
######################################################################
173173

174-
# The main testing target. Tests lots of stuff.
175174
check: cleantmptestlogs cleantestlibs check-notidy tidy
176175

177-
# As above but don't bother running tidy.
178176
check-notidy: cleantmptestlogs cleantestlibs all check-stage2
179177
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
180178

181-
# A slightly smaller set of tests for smoke testing.
182179
check-lite: cleantestlibs cleantmptestlogs \
183180
$(foreach crate,$(TEST_TARGET_CRATES),check-stage2-$(crate)) \
184181
check-stage2-rpass \
185182
check-stage2-rfail check-stage2-cfail check-stage2-rmake
186183
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
187184

188-
# Only check the 'reference' tests: rpass/cfail/rfail/rmake.
189185
check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass \
190186
check-stage2-rfail check-stage2-cfail check-stage2-rmake
191187
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
192188

193-
# Only check the docs.
194189
check-docs: cleantestlibs cleantmptestlogs check-stage2-docs
195190
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
196191

197192
# NOTE: Remove after reprogramming windows bots
198193
check-fast: check-lite
199194

200-
# Some less critical tests that are not prone to breakage.
201-
# Not run as part of the normal test suite, but tested by bors on checkin.
202-
check-secondary: check-lexer check-pretty
203-
204-
# check + check-secondary.
205-
check-all: check check-secondary
206-
207-
# Pretty-printing tests.
208-
check-pretty: check-stage2-T-$(CFG_BUILD)-H-$(CFG_BUILD)-pretty-exec
195+
check-syntax: check-lexer
209196

210197
.PHONY: cleantmptestlogs cleantestlibs
211198

trunk/src/doc/guide-lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ value. We also call this _borrowing_ the local variable
7777
`on_the_stack`, because we have created an alias: that is, another
7878
name for the same data.
7979

80-
Likewise, in the case of `on_the_heap`,
80+
Likewise, in the case of `owned_box`,
8181
the `&` operator is used in conjunction with the `*` operator
8282
to take a reference to the contents of the box.
8383

0 commit comments

Comments
 (0)