Skip to content

Commit 550f617

Browse files
committed
---
yaml --- r: 275454 b: refs/heads/auto c: 3df35a0 h: refs/heads/master
1 parent 018b45f commit 550f617

File tree

557 files changed

+4578
-9589
lines changed

Some content is hidden

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

557 files changed

+4578
-9589
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: fef6c64a8020c357dda902593f1065864564c079
11+
refs/heads/auto: 3df35a01e9825bbdebb986f980095e468357975f
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
/stage3/
7979
/test/
8080
/tmp/
81-
/obj/
8281
TAGS
8382
TAGS.emacs
8483
TAGS.vi

branches/auto/RELEASES.md

Lines changed: 0 additions & 496 deletions
Large diffs are not rendered by default.

branches/auto/configure

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,18 @@ if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; f
717717

718718
if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
719719

720+
# A magic value that allows the compiler to use unstable features
721+
# during the bootstrap even when doing so would normally be an error
722+
# because of feature staging or because the build turns on
723+
# warnings-as-errors and unstable features default to warnings. The
724+
# build has to match this key in an env var. Meant to be a mild
725+
# deterrent from users just turning on unstable features on the stable
726+
# channel.
727+
# Basing CFG_BOOTSTRAP_KEY on CFG_BOOTSTRAP_KEY lets it get picked up
728+
# during a Makefile reconfig.
729+
CFG_BOOTSTRAP_KEY="${CFG_BOOTSTRAP_KEY-`date +%H:%M:%S`}"
730+
putvar CFG_BOOTSTRAP_KEY
731+
720732
step_msg "looking for build programs"
721733

722734
probe_need CFG_CURLORWGET curl wget

branches/auto/mk/crates.mk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUSTC_CRATES := rustc rustc_typeck rustc_mir rustc_borrowck rustc_resolve rustc_
5858
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
5959
rustc_data_structures rustc_platform_intrinsics \
6060
rustc_plugin rustc_metadata rustc_passes rustc_save_analysis \
61-
rustc_const_eval rustc_const_math rustc_incremental
61+
rustc_const_eval rustc_const_math
6262
HOST_CRATES := syntax syntax_ext $(RUSTC_CRATES) rustdoc fmt_macros \
6363
flate arena graphviz rbml log serialize
6464
TOOLS := compiletest rustdoc rustc rustbook error_index_generator
@@ -105,8 +105,7 @@ DEPS_rustc_data_structures := std log serialize
105105
DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_borrowck \
106106
rustc_typeck rustc_mir rustc_resolve log syntax serialize rustc_llvm \
107107
rustc_trans rustc_privacy rustc_lint rustc_plugin \
108-
rustc_metadata syntax_ext rustc_passes rustc_save_analysis rustc_const_eval \
109-
rustc_incremental
108+
rustc_metadata syntax_ext rustc_passes rustc_save_analysis rustc_const_eval
110109
DEPS_rustc_lint := rustc log syntax rustc_const_eval
111110
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
112111
DEPS_rustc_metadata := rustc syntax rbml rustc_const_math
@@ -118,8 +117,7 @@ DEPS_rustc_plugin := rustc rustc_metadata syntax rustc_mir
118117
DEPS_rustc_privacy := rustc log syntax
119118
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back rustc_mir \
120119
log syntax serialize rustc_llvm rustc_platform_intrinsics \
121-
rustc_const_math rustc_const_eval rustc_incremental
122-
DEPS_rustc_incremental := rbml rustc serialize rustc_data_structures
120+
rustc_const_math rustc_const_eval
123121
DEPS_rustc_save_analysis := rustc log syntax
124122
DEPS_rustc_typeck := rustc syntax rustc_platform_intrinsics rustc_const_math \
125123
rustc_const_eval

branches/auto/mk/main.mk

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.10.0
16+
CFG_RELEASE_NUM=1.9.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
@@ -24,17 +24,6 @@ CFG_PRERELEASE_VERSION=.1
2424
# versions in the same place
2525
CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE)$(CFG_EXTRA_FILENAME) | $(CFG_HASH_COMMAND))
2626

27-
# A magic value that allows the compiler to use unstable features during the
28-
# bootstrap even when doing so would normally be an error because of feature
29-
# staging or because the build turns on warnings-as-errors and unstable features
30-
# default to warnings. The build has to match this key in an env var.
31-
#
32-
# This value is keyed off the release to ensure that all compilers for one
33-
# particular release have the same bootstrap key. Note that this is
34-
# intentionally not "secure" by any definition, this is largely just a deterrent
35-
# from users enabling unstable features on the stable compiler.
36-
CFG_BOOTSTRAP_KEY=$(CFG_FILENAME_EXTRA)
37-
3827
ifeq ($(CFG_RELEASE_CHANNEL),stable)
3928
# This is the normal semver version string, e.g. "0.12.0", "0.12.0-nightly"
4029
CFG_RELEASE=$(CFG_RELEASE_NUM)

branches/auto/mk/tests.mk

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,52 @@ cleantestlibs:
240240
# Tidy
241241
######################################################################
242242

243+
ifdef CFG_NOTIDY
243244
.PHONY: tidy
244-
tidy: $(HBIN0_H_$(CFG_BUILD))/tidy$(X_$(CFG_BUILD))
245-
$(TARGET_RPATH_VAR0_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $< $(S)src
245+
tidy:
246+
else
247+
248+
# Run the tidy script in multiple parts to avoid huge 'echo' commands
249+
.PHONY: tidy
250+
tidy: tidy-basic tidy-binaries tidy-errors tidy-features
251+
252+
endif
253+
254+
.PHONY: tidy-basic
255+
tidy-basic:
256+
@$(call E, check: formatting)
257+
$(Q) $(CFG_PYTHON) $(S)src/etc/tidy.py $(S)src/
258+
259+
.PHONY: tidy-binaries
260+
tidy-binaries:
261+
@$(call E, check: binaries)
262+
$(Q)find $(S)src -type f \
263+
\( -perm -u+x -or -perm -g+x -or -perm -o+x \) \
264+
-not -name '*.rs' -and -not -name '*.py' \
265+
-and -not -name '*.sh' -and -not -name '*.pp' \
266+
| grep '^$(S)src/jemalloc' -v \
267+
| grep '^$(S)src/libuv' -v \
268+
| grep '^$(S)src/llvm' -v \
269+
| grep '^$(S)src/rt/hoedown' -v \
270+
| grep '^$(S)src/gyp' -v \
271+
| grep '^$(S)src/etc' -v \
272+
| grep '^$(S)src/doc' -v \
273+
| grep '^$(S)src/compiler-rt' -v \
274+
| grep '^$(S)src/libbacktrace' -v \
275+
| grep '^$(S)src/rust-installer' -v \
276+
| grep '^$(S)src/liblibc' -v \
277+
| xargs $(CFG_PYTHON) $(S)src/etc/check-binaries.py
278+
279+
.PHONY: tidy-errors
280+
tidy-errors:
281+
@$(call E, check: extended errors)
282+
$(Q) $(CFG_PYTHON) $(S)src/etc/errorck.py $(S)src/
283+
284+
.PHONY: tidy-features
285+
tidy-features:
286+
@$(call E, check: feature sanity)
287+
$(Q) $(CFG_PYTHON) $(S)src/etc/featureck.py $(S)src/
246288

247-
$(HBIN0_H_$(CFG_BUILD))/tidy$(X_$(CFG_BUILD)): \
248-
$(TSREQ0_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
249-
$(TLIB0_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.std \
250-
$(call rwildcard,$(S)src/tools/tidy/src,*.rs)
251-
$(STAGE0_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(S)src/tools/tidy/src/main.rs \
252-
--out-dir $(@D) --crate-name tidy
253289

254290
######################################################################
255291
# Sets of tests
@@ -269,7 +305,6 @@ check-stage$(1)-T-$(2)-H-$(3)-exec: \
269305
check-stage$(1)-T-$(2)-H-$(3)-doc-crates-exec \
270306
check-stage$(1)-T-$(2)-H-$(3)-debuginfo-gdb-exec \
271307
check-stage$(1)-T-$(2)-H-$(3)-debuginfo-lldb-exec \
272-
check-stage$(1)-T-$(2)-H-$(3)-incremental-exec \
273308
check-stage$(1)-T-$(2)-H-$(3)-doc-exec \
274309
check-stage$(1)-T-$(2)-H-$(3)-pretty-exec
275310

@@ -446,7 +481,6 @@ DEBUGINFO_LLDB_RS := $(call rwildcard,$(S)src/test/debuginfo/,*.rs)
446481
CODEGEN_RS := $(call rwildcard,$(S)src/test/codegen/,*.rs)
447482
CODEGEN_CC := $(call rwildcard,$(S)src/test/codegen/,*.cc)
448483
CODEGEN_UNITS_RS := $(call rwildcard,$(S)src/test/codegen-units/,*.rs)
449-
INCREMENTAL_RS := $(call rwildcard,$(S)src/test/incremental/,*.rs)
450484
RUSTDOCCK_RS := $(call rwildcard,$(S)src/test/rustdoc/,*.rs)
451485

452486
RPASS_TESTS := $(RPASS_RS)
@@ -462,7 +496,6 @@ DEBUGINFO_GDB_TESTS := $(DEBUGINFO_GDB_RS)
462496
DEBUGINFO_LLDB_TESTS := $(DEBUGINFO_LLDB_RS)
463497
CODEGEN_TESTS := $(CODEGEN_RS) $(CODEGEN_CC)
464498
CODEGEN_UNITS_TESTS := $(CODEGEN_UNITS_RS)
465-
INCREMENTAL_TESTS := $(INCREMENTAL_RS)
466499
RUSTDOCCK_TESTS := $(RUSTDOCCK_RS)
467500

468501
CTEST_SRC_BASE_rpass = run-pass
@@ -525,11 +558,6 @@ CTEST_BUILD_BASE_codegen-units = codegen-units
525558
CTEST_MODE_codegen-units = codegen-units
526559
CTEST_RUNTOOL_codegen-units = $(CTEST_RUNTOOL)
527560

528-
CTEST_SRC_BASE_incremental = incremental
529-
CTEST_BUILD_BASE_incremental = incremental
530-
CTEST_MODE_incremental = incremental
531-
CTEST_RUNTOOL_incremental = $(CTEST_RUNTOOL)
532-
533561
CTEST_SRC_BASE_rustdocck = rustdoc
534562
CTEST_BUILD_BASE_rustdocck = rustdoc
535563
CTEST_MODE_rustdocck = rustdoc
@@ -653,7 +681,6 @@ CTEST_DEPS_debuginfo-lldb_$(1)-T-$(2)-H-$(3) = $$(DEBUGINFO_LLDB_TESTS) \
653681
$(S)src/etc/lldb_rust_formatters.py
654682
CTEST_DEPS_codegen_$(1)-T-$(2)-H-$(3) = $$(CODEGEN_TESTS)
655683
CTEST_DEPS_codegen-units_$(1)-T-$(2)-H-$(3) = $$(CODEGEN_UNITS_TESTS)
656-
CTEST_DEPS_incremental_$(1)-T-$(2)-H-$(3) = $$(INCREMENTAL_TESTS)
657684
CTEST_DEPS_rustdocck_$(1)-T-$(2)-H-$(3) = $$(RUSTDOCCK_TESTS) \
658685
$$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3)) \
659686
$(S)src/etc/htmldocck.py
@@ -720,7 +747,7 @@ endif
720747
endef
721748

722749
CTEST_NAMES = rpass rpass-valgrind rpass-full rfail-full cfail-full rfail cfail pfail \
723-
debuginfo-gdb debuginfo-lldb codegen codegen-units rustdocck incremental
750+
debuginfo-gdb debuginfo-lldb codegen codegen-units rustdocck
724751

725752
$(foreach host,$(CFG_HOST), \
726753
$(eval $(foreach target,$(CFG_TARGET), \
@@ -918,7 +945,6 @@ TEST_GROUPS = \
918945
debuginfo-lldb \
919946
codegen \
920947
codegen-units \
921-
incremental \
922948
doc \
923949
$(foreach docname,$(DOC_NAMES),doc-$(docname)) \
924950
pretty \

branches/auto/src/bootstrap/Cargo.lock

Lines changed: 17 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

branches/auto/src/bootstrap/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ path = "rustdoc.rs"
2121

2222
[dependencies]
2323
build_helper = { path = "../build_helper" }
24-
cmake = "0.1.17"
24+
cmake = "0.1.10"
2525
filetime = "0.1"
2626
num_cpus = "0.2"
2727
toml = "0.1"
@@ -31,4 +31,3 @@ winapi = "0.2"
3131
kernel32-sys = "0.2"
3232
gcc = "0.3.17"
3333
libc = "0.2"
34-
md5 = "0.1"

0 commit comments

Comments
 (0)