Skip to content

Commit e867f21

Browse files
author
James Hurst
committed
---
yaml --- r: 126459 b: refs/heads/auto c: 8a7b0fa h: refs/heads/master i: 126457: 35fa9d5 126455: 2d89ef0 v: v3
1 parent 406c969 commit e867f21

File tree

617 files changed

+15275
-14532
lines changed

Some content is hidden

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

617 files changed

+15275
-14532
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 8fcfd02d852cc328a1d465f366ff8e22583b26f2
16+
refs/heads/auto: 8a7b0fa939c4e1ae8dcbba941ab4d46a3602b9fe
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/.gitignore

Lines changed: 64 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,90 @@
1-
*.a
2-
*.aux
3-
*.bc
1+
*~
2+
\#*\#
3+
\#*
4+
.#*
5+
*.x86
6+
*.llvm
7+
*.out
48
*.boot
5-
*.bz2
6-
*.cmi
7-
*.cmo
9+
*.rustc
810
*.cmx
9-
*.cp
10-
*.cps
11-
*.d
12-
*.dSYM
13-
*.def
14-
*.diff
1511
*.dll
16-
*.dylib
17-
*.elc
18-
*.epub
12+
*.def
1913
*.exe
14+
*.a
15+
*.rlib
16+
*.so
17+
*.dylib
18+
*.orig
19+
*.cmo
20+
*.cmi
21+
*.dSYM
22+
*.d
23+
*.o
24+
*.ll
25+
*.bc
26+
*.aux
27+
*.cp
2028
*.fn
21-
*.html
2229
*.ky
23-
*.ll
24-
*.llvm
30+
*.cps
2531
*.log
26-
*.o
27-
*.orig
28-
*.out
29-
*.patch
3032
*.pdf
33+
*.epub
34+
*.html
3135
*.pg
32-
*.pot
33-
*.pyc
34-
*.rej
35-
*.rlib
36-
*.rustc
37-
*.so
38-
*.swo
39-
*.swp
40-
*.tmp
4136
*.toc
4237
*.tp
4338
*.vr
44-
*.x86
45-
*~
46-
.#*
47-
.DS_Store
48-
.cproject
39+
*.patch
40+
*.diff
41+
*.rej
42+
*.swp
43+
*.swo
44+
*.tmp
45+
*.pyc
46+
*.elc
4947
.hg/
5048
.hgignore
49+
.cproject
5150
.project
52-
.settings/
5351
.valgrindrc
54-
/*-*-*-*/
55-
/*-*-*/
52+
lexer.ml
53+
TAGS
54+
TAGS.emacs
55+
TAGS.vi
56+
version.ml
57+
version.texi
5658
/Makefile
57-
/build
58-
/dist/
59-
/dl/
60-
/doc
61-
/inst/
62-
/llvm/
63-
/mingw-build/
64-
/nd/
59+
config.mk
6560
/rt/
6661
/rustllvm/
67-
/src/libunicode/DerivedCoreProperties.txt
68-
/src/libunicode/EastAsianWidth.txt
69-
/src/libunicode/HangulSyllableType.txt
70-
/src/libunicode/PropList.txt
71-
/src/libunicode/Scripts.txt
72-
/src/libunicode/UnicodeData.txt
62+
/test/
63+
/inst/
64+
/mingw-build/
65+
src/.DS_Store
66+
/tmp/
67+
/dist/
7368
/stage0/
69+
/dl/
7470
/stage1/
7571
/stage2/
7672
/stage3/
77-
/test/
78-
/tmp/
79-
TAGS
80-
TAGS.emacs
81-
TAGS.vi
82-
\#*
83-
\#*\#
84-
config.mk
85-
config.stamp
73+
*.bz2
74+
/doc
75+
/nd/
76+
/llvm/
77+
version.md
8678
keywords.md
87-
lexer.ml
88-
src/.DS_Store
79+
x86_64-apple-darwin/
80+
x86_64-unknown-linux-gnu/
81+
i686-unknown-linux-gnu/
82+
tmp.*.rs
83+
config.stamp
84+
.DS_Store
8985
src/etc/dl
86+
.settings/
87+
/build
88+
i686-pc-mingw32/
9089
src/librustc_llvm/llvmdeps.rs
91-
tmp.*.rs
92-
version.md
93-
version.ml
94-
version.texi
90+
*.pot

branches/auto/configure

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,6 @@ case $CFG_OSTYPE in
291291
CFG_OSTYPE=unknown-freebsd
292292
;;
293293

294-
DragonFly)
295-
CFG_OSTYPE=unknown-dragonfly
296-
;;
297-
298294
Darwin)
299295
CFG_OSTYPE=apple-darwin
300296
;;

branches/auto/mk/clean.mk

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@
1212
# Cleanup
1313
######################################################################
1414

15-
CLEAN_STAGE_RULES := \
16-
$(foreach stage, $(STAGES), \
17-
$(foreach host, $(CFG_HOST), \
18-
clean$(stage)_H_$(host) \
19-
$(foreach target, $(CFG_TARGET), \
15+
CLEAN_STAGE_RULES := \
16+
$(foreach stage, $(STAGES), \
17+
$(foreach host, $(CFG_HOST), \
18+
clean$(stage)_H_$(host) \
19+
$(foreach target, $(CFG_TARGET), \
2020
clean$(stage)_T_$(target)_H_$(host))))
2121

22-
CLEAN_STAGE_RULES := $(CLEAN_STAGE_RULES) \
22+
CLEAN_STAGE_RULES := $(CLEAN_STAGE_RULES) \
2323
$(foreach host, $(CFG_HOST), clean-generic-H-$(host))
2424

25-
CLEAN_STAGE_RULES := $(CLEAN_STAGE_RULES) \
25+
CLEAN_STAGE_RULES := $(CLEAN_STAGE_RULES) \
2626
$(foreach host, $(CFG_TARGET), clean-generic-T-$(host))
2727

28-
CLEAN_LLVM_RULES = \
29-
$(foreach target, $(CFG_HOST), \
28+
CLEAN_LLVM_RULES = \
29+
$(foreach target, $(CFG_HOST), \
3030
clean-llvm$(target))
3131

3232
.PHONY: clean clean-all clean-misc clean-llvm
@@ -54,20 +54,20 @@ clean-generic-$(2)-$(1):
5454
$(1)/rt \
5555
$(1)/test \
5656
$(1)/stage* \
57-
-type f \( \
57+
-type f \( \
5858
-name '*.[odasS]' -o \
59-
-name '*.so' -o \
60-
-name '*.dylib' -o \
61-
-name '*.rlib' -o \
62-
-name 'stamp.*' -o \
63-
-name '*.lib' -o \
64-
-name '*.dll' -o \
65-
-name '*.def' -o \
66-
-name '*.bc' \
67-
\) \
59+
-name '*.so' -o \
60+
-name '*.dylib' -o \
61+
-name '*.rlib' -o \
62+
-name 'stamp.*' -o \
63+
-name '*.lib' -o \
64+
-name '*.dll' -o \
65+
-name '*.def' -o \
66+
-name '*.bc' \
67+
\) \
6868
| xargs rm -f
69-
$(Q)find $(1) \
70-
-name '*.dSYM' \
69+
$(Q)find $(1)\
70+
-name '*.dSYM' \
7171
| xargs rm -Rf
7272
endef
7373

@@ -76,8 +76,8 @@ $(foreach targ, $(CFG_TARGET), $(eval $(call CLEAN_GENERIC,$(targ),T)))
7676

7777
define CLEAN_HOST_STAGE_N
7878

79-
clean$(1)_H_$(2): \
80-
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
79+
clean$(1)_H_$(2): \
80+
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
8181
$$(foreach tool,$$(TOOLS),clean$(1)_H_$(2)-tool-$$(tool))
8282
$$(Q)rm -fr $(2)/rt/libbacktrace
8383

@@ -96,8 +96,8 @@ $(foreach host, $(CFG_HOST), \
9696

9797
define CLEAN_TARGET_STAGE_N
9898

99-
clean$(1)_T_$(2)_H_$(3): \
100-
$$(foreach crate,$$(CRATES),clean$(1)_T_$(2)_H_$(3)-lib-$$(crate)) \
99+
clean$(1)_T_$(2)_H_$(3): \
100+
$$(foreach crate,$$(CRATES),clean$(1)_T_$(2)_H_$(3)-lib-$$(crate)) \
101101
$$(foreach tool,$$(TOOLS),clean$(1)_T_$(2)_H_$(3)-tool-$$(tool))
102102
$$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
103103
$$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libcompiler-rt.a

branches/auto/mk/crates.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
5353
uuid serialize sync getopts collections num test time rand \
54-
url log regex graphviz core rbml rlibc alloc debug rustrt \
54+
url log regex graphviz core rlibc alloc debug rustrt \
5555
unicode
5656
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros fmt_macros \
5757
rustc_llvm rustc_back
@@ -71,7 +71,7 @@ DEPS_green := std native:context_switch
7171
DEPS_rustuv := std native:uv native:uv_support
7272
DEPS_native := std
7373
DEPS_syntax := std term serialize log fmt_macros debug
74-
DEPS_rustc := syntax flate arena serialize getopts rbml \
74+
DEPS_rustc := syntax flate arena serialize getopts \
7575
time log graphviz debug rustc_llvm rustc_back
7676
DEPS_rustc_llvm := native:rustllvm libc std
7777
DEPS_rustc_back := std syntax rustc_llvm flate log libc
@@ -82,7 +82,6 @@ DEPS_arena := std
8282
DEPS_graphviz := std
8383
DEPS_glob := std
8484
DEPS_serialize := std log
85-
DEPS_rbml := std log serialize
8685
DEPS_term := std log
8786
DEPS_semver := std
8887
DEPS_uuid := std serialize
@@ -92,7 +91,7 @@ DEPS_collections := core alloc unicode
9291
DEPS_fourcc := rustc syntax std
9392
DEPS_hexfloat := rustc syntax std
9493
DEPS_num := std
95-
DEPS_test := std getopts serialize rbml term time regex native:rust_test_helpers
94+
DEPS_test := std getopts serialize term time regex native:rust_test_helpers
9695
DEPS_time := std serialize
9796
DEPS_rand := core
9897
DEPS_url := std

branches/auto/mk/ctags.mk

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818
# This is using a blacklist approach, probably more durable than a whitelist.
1919
# We exclude: external dependencies (llvm, libuv, gyp, rt/{msvc,sundown,vg}),
2020
# 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/libuv,, \
23-
$(patsubst ${CFG_SRC_DIR}src/compiletest,, \
24-
$(patsubst ${CFG_SRC_DIR}src/test,, \
25-
$(patsubst ${CFG_SRC_DIR}src/gyp,, \
26-
$(patsubst ${CFG_SRC_DIR}src/etc,, \
27-
$(patsubst ${CFG_SRC_DIR}src/rt,, \
28-
$(patsubst ${CFG_SRC_DIR}src/rt/arch,, \
29-
$(patsubst ${CFG_SRC_DIR}src/rt/msvc,, \
30-
$(patsubst ${CFG_SRC_DIR}src/rt/sundown,, \
31-
$(patsubst ${CFG_SRC_DIR}src/rt/vg,, \
32-
$(wildcard ${CFG_SRC_DIR}src/*) $(wildcard ${CFG_SRC_DIR}src/rt/*) \
21+
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/llvm,,\
22+
$(patsubst ${CFG_SRC_DIR}src/libuv,,\
23+
$(patsubst ${CFG_SRC_DIR}src/compiletest,,\
24+
$(patsubst ${CFG_SRC_DIR}src/test,,\
25+
$(patsubst ${CFG_SRC_DIR}src/gyp,,\
26+
$(patsubst ${CFG_SRC_DIR}src/etc,,\
27+
$(patsubst ${CFG_SRC_DIR}src/rt,,\
28+
$(patsubst ${CFG_SRC_DIR}src/rt/arch,,\
29+
$(patsubst ${CFG_SRC_DIR}src/rt/msvc,,\
30+
$(patsubst ${CFG_SRC_DIR}src/rt/sundown,,\
31+
$(patsubst ${CFG_SRC_DIR}src/rt/vg,,\
32+
$(wildcard ${CFG_SRC_DIR}src/*) $(wildcard ${CFG_SRC_DIR}src/rt/*)\
3333
)))))))))))
3434
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=-javascript --recurse ${CTAGS_LOCATIONS}
3535
# We could use `--languages=Rust`, but there is value in producing tags for the

branches/auto/mk/docs.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ HTML_DEPS += doc/version_info.html
112112
doc/version_info.html: $(D)/version_info.html.template $(MKFILE_DEPS) \
113113
$(wildcard $(D)/*.*) | doc/
114114
@$(call E, version-info: $@)
115-
$(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$( \
116-
CFG_SHORT_VER_HASH)/; \
115+
$(Q)sed -e "s/VERSION/$(CFG_RELEASE)/; s/SHORT_HASH/$(\
116+
CFG_SHORT_VER_HASH)/;\
117117
s/STAMP/$(CFG_VER_HASH)/;" $< >$@
118118

119119
GENERATED += doc/version.tex doc/version_info.html
@@ -285,7 +285,7 @@ doc/$(1)/:
285285
$(2) += doc/$(1)/index.html
286286
doc/$(1)/index.html: CFG_COMPILER_HOST_TRIPLE = $(CFG_TARGET)
287287
doc/$(1)/index.html: $$(LIB_DOC_DEP_$(1)) doc/$(1)/
288-
@$$(call E, rustdoc: $$@)
288+
@$$(call E, rustdoc $$@)
289289
$$(Q)$$(RUSTDOC) --cfg dox --cfg stage2 $$<
290290
endef
291291

branches/auto/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

0 commit comments

Comments
 (0)