Skip to content

Commit d5fbd26

Browse files
committed
---
yaml --- r: 278246 b: refs/heads/auto c: 6fed013 h: refs/heads/master
1 parent 37d3257 commit d5fbd26

File tree

956 files changed

+11244
-19840
lines changed

Some content is hidden

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

956 files changed

+11244
-19840
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: 216f3f4b1e5d96e6e8308ab435a8a125f9cc7b0e
11+
refs/heads/auto: 6fed0132f314622700da9cd9f5746cfc4f4bb87f
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/Makefile.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@
5959
# * check-stage$(stage)-$(crate) - Test a crate in a specific stage
6060
# * check-stage$(stage)-{rpass,rfail,cfail,rmake,...} - Run tests in src/test/
6161
# * check-stage1-T-$(target)-H-$(host) - Run cross-compiled-tests
62-
# * tidy - Basic style check, show highest rustc error code and
63-
# the status of language and lib features
62+
# * tidy-basic - show file / line stats
63+
# * tidy-errors - show the highest rustc error code
64+
# * tidy-features - show the status of language and lib features
6465
# * rustc-stage$(stage) - Only build up to a specific stage
6566
#
6667
# Then mix in some of these environment variables to harness the

branches/auto/configure

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,6 @@ valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple"
632632
valopt android-cross-path "" "Android NDK standalone path (deprecated)"
633633
valopt i686-linux-android-ndk "" "i686-linux-android NDK standalone path"
634634
valopt arm-linux-androideabi-ndk "" "arm-linux-androideabi NDK standalone path"
635-
valopt armv7-linux-androideabi-ndk "" "armv7-linux-androideabi NDK standalone path"
636635
valopt aarch64-linux-android-ndk "" "aarch64-linux-android NDK standalone path"
637636
valopt nacl-cross-path "" "NaCl SDK path (Pepper Canary is recommended). Must be absolute!"
638637
valopt release-channel "dev" "the name of the release channel to build"
@@ -1145,15 +1144,6 @@ do
11451144

11461145
case $i in
11471146
*android*)
1148-
case $i in
1149-
armv7-linux-androideabi)
1150-
cmd_prefix="arm-linux-androideabi"
1151-
;;
1152-
*)
1153-
cmd_prefix=$i
1154-
;;
1155-
esac
1156-
11571147
upper_snake_target=$(echo "$i" | tr '[:lower:]' '[:upper:]' | tr '\-' '\_')
11581148
eval ndk=\$"CFG_${upper_snake_target}_NDK"
11591149
if [ -z "$ndk" ]
@@ -1164,7 +1154,7 @@ do
11641154
fi
11651155

11661156
# Perform a basic sanity check of the NDK
1167-
for android_ndk_tool in "$ndk/bin/$cmd_prefix-gcc" "$ndk/bin/$cmd_prefix-g++" "$ndk/bin/$cmd_prefix-ar"
1157+
for android_ndk_tool in "$ndk/bin/$i-gcc" "$ndk/bin/$i-g++" "$ndk/bin/$i-ar"
11681158
do
11691159
if [ ! -f $android_ndk_tool ]
11701160
then
@@ -1796,7 +1786,6 @@ putvar CFG_LIBDIR_RELATIVE
17961786
putvar CFG_DISABLE_MANAGE_SUBMODULES
17971787
putvar CFG_AARCH64_LINUX_ANDROID_NDK
17981788
putvar CFG_ARM_LINUX_ANDROIDEABI_NDK
1799-
putvar CFG_ARMV7_LINUX_ANDROIDEABI_NDK
18001789
putvar CFG_I686_LINUX_ANDROID_NDK
18011790
putvar CFG_NACL_CROSS_PATH
18021791
putvar CFG_MANDIR

branches/auto/mk/cfg/armv7-linux-androideabi.mk

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

branches/auto/mk/crates.mk

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ TARGET_CRATES := libc std term \
5353
getopts collections test rand \
5454
core alloc \
5555
rustc_unicode rustc_bitflags \
56-
alloc_system alloc_jemalloc \
57-
panic_abort panic_unwind unwind
56+
alloc_system alloc_jemalloc
5857
RUSTC_CRATES := rustc rustc_typeck rustc_mir rustc_borrowck rustc_resolve rustc_driver \
5958
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
6059
rustc_data_structures rustc_platform_intrinsics \
@@ -73,18 +72,10 @@ DEPS_libc := core
7372
DEPS_rand := core
7473
DEPS_rustc_bitflags := core
7574
DEPS_rustc_unicode := core
76-
DEPS_panic_abort := libc alloc
77-
DEPS_panic_unwind := libc alloc unwind
78-
DEPS_unwind := libc
79-
80-
# FIXME(stage0): change this to just `RUSTFLAGS_panic_abort := ...`
81-
RUSTFLAGS1_panic_abort := -C panic=abort
82-
RUSTFLAGS2_panic_abort := -C panic=abort
83-
RUSTFLAGS3_panic_abort := -C panic=abort
8475

8576
DEPS_std := core libc rand alloc collections rustc_unicode \
8677
native:backtrace \
87-
alloc_system panic_abort panic_unwind unwind
78+
alloc_system
8879
DEPS_arena := std
8980
DEPS_glob := std
9081
DEPS_flate := std native:miniz
@@ -120,7 +111,7 @@ DEPS_rustc_lint := rustc log syntax rustc_const_eval
120111
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
121112
DEPS_rustc_metadata := rustc syntax rbml rustc_const_math
122113
DEPS_rustc_passes := syntax rustc core rustc_const_eval
123-
DEPS_rustc_mir := rustc syntax rustc_const_math rustc_const_eval rustc_bitflags
114+
DEPS_rustc_mir := rustc syntax rustc_const_math rustc_const_eval
124115
DEPS_rustc_resolve := arena rustc log syntax
125116
DEPS_rustc_platform_intrinsics := std
126117
DEPS_rustc_plugin := rustc rustc_metadata syntax rustc_mir
@@ -157,9 +148,6 @@ ONLY_RLIB_rustc_unicode := 1
157148
ONLY_RLIB_rustc_bitflags := 1
158149
ONLY_RLIB_alloc_system := 1
159150
ONLY_RLIB_alloc_jemalloc := 1
160-
ONLY_RLIB_panic_unwind := 1
161-
ONLY_RLIB_panic_abort := 1
162-
ONLY_RLIB_unwind := 1
163151

164152
TARGET_SPECIFIC_alloc_jemalloc := 1
165153

branches/auto/mk/ctags.mk

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,14 @@
1515

1616
.PHONY: TAGS.emacs TAGS.vi
1717

18-
CTAGS_RUSTC_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/lib%test,, \
19-
$(wildcard ${CFG_SRC_DIR}src/lib*)) ${CFG_SRC_DIR}src/libtest
18+
CTAGS_LOCATIONS=$(wildcard ${CFG_SRC_DIR}src/lib*)
2019
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/librust%,, \
2120
$(patsubst ${CFG_SRC_DIR}src/lib%test,, \
2221
$(wildcard ${CFG_SRC_DIR}src/lib*))) ${CFG_SRC_DIR}src/libtest
23-
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse
24-
25-
TAGS.rustc.emacs:
26-
ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
22+
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse ${CTAGS_LOCATIONS}
2723

2824
TAGS.emacs:
29-
ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
30-
31-
TAGS.rustc.vi:
32-
ctags -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
25+
ctags -e -f $@ ${CTAGS_OPTS}
3326

3427
TAGS.vi:
35-
ctags -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
28+
ctags -f $@ ${CTAGS_OPTS}

branches/auto/mk/debuggers.mk

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,10 @@ DEBUGGER_BIN_SCRIPTS_LLDB_ABS=\
4141

4242

4343
## ALL ##
44-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL=gdb_load_rust_pretty_printers.py \
45-
gdb_rust_pretty_printing.py \
46-
lldb_rust_formatters.py \
47-
debugger_pretty_printers_common.py
48-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS=\
49-
$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL), \
50-
$(CFG_SRC_DIR)src/etc/$(script))
44+
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL=$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB) \
45+
$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB)
46+
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS=$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) \
47+
$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS)
5148
DEBUGGER_BIN_SCRIPTS_ALL=$(DEBUGGER_BIN_SCRIPTS_GDB) \
5249
$(DEBUGGER_BIN_SCRIPTS_LLDB)
5350
DEBUGGER_BIN_SCRIPTS_ALL_ABS=$(DEBUGGER_BIN_SCRIPTS_GDB_ABS) \

branches/auto/mk/dist.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ $(PKG_TAR): $(PKG_FILES)
7777
$(Q)mkdir -p tmp/dist/$(PKG_NAME)
7878
$(Q)tar \
7979
-C $(S) \
80-
-f - \
8180
--exclude-vcs \
8281
--exclude=*~ \
8382
--exclude=*.pyc \
@@ -87,7 +86,7 @@ $(PKG_TAR): $(PKG_FILES)
8786
--exclude=*/llvm/test/*/*/*.ll \
8887
--exclude=*/llvm/test/*/*/*.td \
8988
--exclude=*/llvm/test/*/*/*.s \
90-
-c $(UNROOTED_PKG_FILES) | tar -x -f - -C tmp/dist/$(PKG_NAME)
89+
-c $(UNROOTED_PKG_FILES) | tar -x -C tmp/dist/$(PKG_NAME)
9190
@$(call E, making $@)
9291
$(Q)tar -czf $(PKG_TAR) -C tmp/dist $(PKG_NAME)
9392
$(Q)rm -Rf tmp/dist/$(PKG_NAME)

branches/auto/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ endif
390390
# This 'function' will determine which debugger scripts to copy based on a
391391
# target triple. See debuggers.mk for more information.
392392
TRIPLE_TO_DEBUGGER_SCRIPT_SETTING=\
393-
$(if $(findstring windows-msvc,$(1)),none,all)
393+
$(if $(findstring windows,$(1)),none,$(if $(findstring darwin,$(1)),lldb,gdb))
394394

395395
STAGES = 0 1 2 3
396396

branches/auto/mk/platform.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ifdef CFG_CCACHE_BASEDIR
169169
export CCACHE_BASEDIR
170170
endif
171171

172-
FIND_COMPILER = $(strip $(1:ccache=))
172+
FIND_COMPILER = $(word 1,$(1:ccache=))
173173

174174
define CFG_MAKE_TOOLCHAIN
175175
# Prepend the tools with their prefix if cross compiling
@@ -187,7 +187,7 @@ define CFG_MAKE_TOOLCHAIN
187187
endif
188188
endif
189189

190-
CFG_COMPILE_C_$(1) = '$$(call FIND_COMPILER,$$(CC_$(1)))' \
190+
CFG_COMPILE_C_$(1) = '$$(CC_$(1))' \
191191
$$(CFLAGS) \
192192
$$(CFG_GCCISH_CFLAGS) \
193193
$$(CFG_GCCISH_CFLAGS_$(1)) \
@@ -198,7 +198,7 @@ define CFG_MAKE_TOOLCHAIN
198198
$$(CFG_GCCISH_LINK_FLAGS_$(1)) \
199199
$$(CFG_GCCISH_DEF_FLAG_$(1))$$(3) $$(2) \
200200
$$(call CFG_INSTALL_NAME_$(1),$$(4))
201-
CFG_COMPILE_CXX_$(1) = '$$(call FIND_COMPILER,$$(CXX_$(1)))' \
201+
CFG_COMPILE_CXX_$(1) = '$$(CXX_$(1))' \
202202
$$(CXXFLAGS) \
203203
$$(CFG_GCCISH_CFLAGS) \
204204
$$(CFG_GCCISH_CXXFLAGS) \

branches/auto/mk/tests.mk

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ DEPS_collectionstest :=
2323
$(eval $(call RUST_CRATE,collectionstest))
2424

2525
TEST_TARGET_CRATES = $(filter-out core rustc_unicode alloc_system libc \
26-
alloc_jemalloc panic_unwind \
27-
panic_abort,$(TARGET_CRATES)) \
26+
alloc_jemalloc,$(TARGET_CRATES)) \
2827
collectionstest coretest
2928
TEST_DOC_CRATES = $(DOC_CRATES) arena flate fmt_macros getopts graphviz \
3029
log rand rbml serialize syntax term test
@@ -617,12 +616,13 @@ ifdef CFG_ENABLE_DEBUGINFO_TESTS
617616
CTEST_RUSTC_FLAGS += -g
618617
endif
619618

620-
CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) = \
619+
CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
621620
--compile-lib-path $$(HLIB$(1)_H_$(3)) \
622621
--run-lib-path $$(TLIB$(1)_T_$(2)_H_$(3)) \
623622
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
624623
--rustdoc-path $$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3)) \
625624
--llvm-filecheck $(CFG_LLVM_INST_DIR_$(CFG_BUILD))/bin/FileCheck \
625+
--aux-base $$(S)src/test/auxiliary/ \
626626
--stage-id stage$(1)-$(2) \
627627
--target $(2) \
628628
--host $(3) \
@@ -636,11 +636,11 @@ CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) = \
636636
--host-rustcflags "$(RUSTC_FLAGS_$(3)) $$(CTEST_RUSTC_FLAGS) -L $$(RT_OUTPUT_DIR_$(3))" \
637637
--lldb-python-dir=$(CFG_LLDB_PYTHON_DIR) \
638638
--target-rustcflags "$(RUSTC_FLAGS_$(2)) $$(CTEST_RUSTC_FLAGS) -L $$(RT_OUTPUT_DIR_$(2))" \
639-
--cc '$$(call FIND_COMPILER,$$(CC_$(2)))' \
640-
--cxx '$$(call FIND_COMPILER,$$(CXX_$(2)))' \
641-
--cflags "$$(CFG_GCCISH_CFLAGS_$(2))" \
642-
--llvm-components "$$(LLVM_ALL_COMPONENTS_$(2))" \
643-
--llvm-cxxflags "$$(LLVM_CXXFLAGS_$(2))" \
639+
--cc '$$(CC_$(3))' \
640+
--cxx '$$(CXX_$(3))' \
641+
--cflags "$$(CFG_GCCISH_CFLAGS_$(3))" \
642+
--llvm-components "$$(LLVM_ALL_COMPONENTS_$(3))" \
643+
--llvm-cxxflags "$$(LLVM_CXXFLAGS_$(3))" \
644644
$$(CTEST_TESTARGS)
645645

646646
ifdef CFG_VALGRIND_RPASS
@@ -686,7 +686,7 @@ $(foreach host,$(CFG_HOST), \
686686

687687
define DEF_RUN_COMPILETEST
688688

689-
CTEST_ARGS$(1)-T-$(2)-H-$(3)-$(4) = \
689+
CTEST_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
690690
$$(CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3)) \
691691
--src-base $$(S)src/test/$$(CTEST_SRC_BASE_$(4))/ \
692692
--build-base $(3)/test/$$(CTEST_BUILD_BASE_$(4))/ \
@@ -779,7 +779,7 @@ $(foreach host,$(CFG_HOST), \
779779

780780
define DEF_RUN_PRETTY_TEST
781781

782-
PRETTY_ARGS$(1)-T-$(2)-H-$(3)-$(4) = \
782+
PRETTY_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
783783
$$(CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3)) \
784784
--src-base $$(S)src/test/$$(PRETTY_DIRNAME_$(4))/ \
785785
--build-base $(3)/test/$$(PRETTY_DIRNAME_$(4))/ \

0 commit comments

Comments
 (0)