Skip to content

Commit d846b5d

Browse files
committed
---
yaml --- r: 171755 b: refs/heads/beta c: b59d4e7 h: refs/heads/master i: 171753: e4c32aa 171751: 46aee16 v: v3
1 parent 1487714 commit d846b5d

File tree

1,280 files changed

+27525
-29301
lines changed

Some content is hidden

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

1,280 files changed

+27525
-29301
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: dddc9ec28de0139990bb23ef36696b5de668a5ed
34+
refs/heads/beta: b59d4e7295258d5e0d2f2c1a41bdad5c547a170e
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# RVM/bundler/ruby and whatnot. Right now 'rust' as a language actually
33
# downloads a rust/cargo snapshot, which we don't really want for building rust.
44
language: c
5-
sudo: false
65

76
# The test suite is in general way too stressful for travis, especially in
87
# terms of time limit and reliability. In the past we've tried to scale things

branches/beta/CONTRIBUTING.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,5 @@ example, if it's 2014, and you change a Rust file that was created in
4747
// Copyright 2010-2014 The Rust Project Developers.
4848
```
4949

50-
# Coordination and communication
51-
52-
Get feedback from other developers on
53-
[discuss.rust-lang.org][discuss], and
54-
[#rust-internals][pound-rust-internals].
55-
56-
[pound-rust-internals]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
57-
[discuss]: http://discuss.rust-lang.org
58-
5950
For more details, please refer to
6051
[Note-development-policy](https://github.com/rust-lang/rust/wiki/Note-development-policy).

branches/beta/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
# This is hardly all there is to know of The Rust Build System's
100100
# mysteries. The tale continues on the wiki[1][2].
101101
#
102-
# [1]: https://github.com/rust-lang/rust/wiki/Note-getting-started-developing-Rust
102+
# [1]: https://github.com/rust-lang/rust/wiki/Note-build-system
103103
# [2]: https://github.com/rust-lang/rust/wiki/Note-testsuite
104104
#
105105
# If you really feel like getting your hands dirty, then:

branches/beta/configure

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,6 @@ case $CFG_CPUTYPE in
444444
CFG_OSTYPE="${CFG_OSTYPE}eabihf"
445445
;;
446446

447-
aarch64)
448-
CFG_CPUTYPE=aarch64
449-
;;
450-
451447
x86_64 | x86-64 | x64 | amd64)
452448
CFG_CPUTYPE=x86_64
453449
;;
@@ -992,7 +988,7 @@ do
992988
make_dir $t/rt/jemalloc
993989
for i in \
994990
isaac sync test \
995-
arch/i386 arch/x86_64 arch/arm arch/aarch64 arch/mips
991+
arch/i386 arch/x86_64 arch/arm arch/mips
996992
do
997993
make_dir $t/rt/stage$s/$i
998994
done
@@ -1169,7 +1165,7 @@ do
11691165

11701166
msg "configuring LLVM for $gnu_t"
11711167

1172-
LLVM_TARGETS="--enable-targets=x86,x86_64,arm,aarch64,mips"
1168+
LLVM_TARGETS="--enable-targets=x86,x86_64,arm,mips"
11731169
LLVM_BUILD="--build=$gnu_t"
11741170
LLVM_HOST="--host=$gnu_t"
11751171
LLVM_TARGET="--target=$gnu_t"

branches/beta/mk/cfg/aarch64-unknown-linux-gnu.mk

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

branches/beta/mk/clean.mk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ clean-generic-$(2)-$(1):
6464
-name '*.dll' -o \
6565
-name '*.def' -o \
6666
-name '*.py' -o \
67-
-name '*.pyc' -o \
6867
-name '*.bc' \
6968
\) \
7069
| xargs rm -f
@@ -80,7 +79,7 @@ define CLEAN_HOST_STAGE_N
8079

8180
clean$(1)_H_$(2): \
8281
$$(foreach crate,$$(CRATES),clean$(1)_H_$(2)-lib-$$(crate)) \
83-
$$(foreach tool,$$(TOOLS) $$(DEBUGGER_BIN_SCRIPTS_ALL),clean$(1)_H_$(2)-tool-$$(tool))
82+
$$(foreach tool,$$(TOOLS) $$(DEBUGGER_BIN_SCRIPTS),clean$(1)_H_$(2)-tool-$$(tool))
8483
$$(Q)rm -fr $(2)/rt/libbacktrace
8584

8685
clean$(1)_H_$(2)-tool-%:
@@ -100,7 +99,7 @@ define CLEAN_TARGET_STAGE_N
10099

101100
clean$(1)_T_$(2)_H_$(3): \
102101
$$(foreach crate,$$(CRATES),clean$(1)_T_$(2)_H_$(3)-lib-$$(crate)) \
103-
$$(foreach tool,$$(TOOLS) $$(DEBUGGER_BIN_SCRIPTS_ALL),clean$(1)_T_$(2)_H_$(3)-tool-$$(tool))
102+
$$(foreach tool,$$(TOOLS) $$(DEBUGGER_BIN_SCRIPTS),clean$(1)_T_$(2)_H_$(3)-tool-$$(tool))
104103
$$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libmorestack.a
105104
$$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/libcompiler-rt.a
106105
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/librun_pass_stage* # For unix

branches/beta/mk/crates.mk

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@
5050
################################################################################
5151

5252
TARGET_CRATES := libc std flate arena term \
53-
serialize getopts collections test rand \
53+
serialize getopts collections test time rand \
5454
log regex graphviz core rbml alloc \
5555
unicode
5656
RUSTC_CRATES := rustc rustc_typeck rustc_borrowck rustc_resolve rustc_driver \
5757
rustc_trans rustc_back rustc_llvm
58-
HOST_CRATES := syntax $(RUSTC_CRATES) rustdoc fmt_macros
58+
HOST_CRATES := syntax $(RUSTC_CRATES) rustdoc regex_macros fmt_macros
5959
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
6060
TOOLS := compiletest rustdoc rustc
6161

@@ -75,11 +75,11 @@ DEPS_rustc_typeck := rustc syntax
7575
DEPS_rustc_borrowck := rustc log graphviz syntax
7676
DEPS_rustc_resolve := rustc log syntax
7777
DEPS_rustc := syntax flate arena serialize getopts rbml \
78-
log graphviz rustc_llvm rustc_back
78+
time log graphviz rustc_llvm rustc_back
7979
DEPS_rustc_llvm := native:rustllvm libc std
8080
DEPS_rustc_back := std syntax rustc_llvm flate log libc
8181
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
82-
test
82+
test time
8383
DEPS_flate := std native:miniz
8484
DEPS_arena := std
8585
DEPS_graphviz := std
@@ -90,10 +90,12 @@ DEPS_term := std log
9090
DEPS_getopts := std
9191
DEPS_collections := core alloc unicode
9292
DEPS_num := std
93-
DEPS_test := std getopts serialize rbml term regex native:rust_test_helpers
93+
DEPS_test := std getopts serialize rbml term time regex native:rust_test_helpers
94+
DEPS_time := std serialize
9495
DEPS_rand := core
9596
DEPS_log := std regex
9697
DEPS_regex := std
98+
DEPS_regex_macros = rustc syntax std regex
9799
DEPS_fmt_macros = std
98100

99101
TOOL_DEPS_compiletest := test getopts
@@ -120,10 +122,7 @@ DOC_CRATES := $(filter-out rustc, \
120122
$(filter-out rustc_borrowck, \
121123
$(filter-out rustc_resolve, \
122124
$(filter-out rustc_driver, \
123-
$(filter-out log, \
124-
$(filter-out regex, \
125-
$(filter-out getopts, \
126-
$(filter-out syntax, $(CRATES)))))))))))
125+
$(filter-out syntax, $(CRATES))))))))
127126
COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
128127
rustc_typeck rustc_driver syntax
129128

branches/beta/mk/debuggers.mk

Lines changed: 13 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -12,77 +12,26 @@
1212
# Copy debugger related scripts
1313
######################################################################
1414

15+
DEBUGGER_RUSTLIB_ETC_SCRIPTS=lldb_rust_formatters.py
16+
DEBUGGER_BIN_SCRIPTS=rust-lldb
1517

16-
## GDB ##
17-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB=gdb_load_rust_pretty_printers.py \
18-
gdb_rust_pretty_printing.py
19-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS=\
20-
$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB), \
21-
$(CFG_SRC_DIR)src/etc/$(script))
22-
23-
DEBUGGER_BIN_SCRIPTS_GDB=rust-gdb
24-
DEBUGGER_BIN_SCRIPTS_GDB_ABS=\
25-
$(foreach script,$(DEBUGGER_BIN_SCRIPTS_GDB), \
26-
$(CFG_SRC_DIR)src/etc/$(script))
27-
28-
29-
## LLDB ##
30-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB=lldb_rust_formatters.py
31-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS=\
32-
$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB), \
33-
$(CFG_SRC_DIR)src/etc/$(script))
34-
35-
DEBUGGER_BIN_SCRIPTS_LLDB=rust-lldb
36-
DEBUGGER_BIN_SCRIPTS_LLDB_ABS=\
37-
$(foreach script,$(DEBUGGER_BIN_SCRIPTS_LLDB), \
38-
$(CFG_SRC_DIR)src/etc/$(script))
39-
40-
41-
## ALL ##
42-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL=$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB) \
43-
$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB)
44-
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS=$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) \
45-
$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS)
46-
DEBUGGER_BIN_SCRIPTS_ALL=$(DEBUGGER_BIN_SCRIPTS_GDB) \
47-
$(DEBUGGER_BIN_SCRIPTS_LLDB)
48-
DEBUGGER_BIN_SCRIPTS_ALL_ABS=$(DEBUGGER_BIN_SCRIPTS_GDB_ABS) \
49-
$(DEBUGGER_BIN_SCRIPTS_LLDB_ABS)
18+
DEBUGGER_RUSTLIB_ETC_SCRIPTS_ABS=$(foreach script,$(DEBUGGER_RUSTLIB_ETC_SCRIPTS), \
19+
$(CFG_SRC_DIR)src/etc/$(script))
20+
DEBUGGER_BIN_SCRIPTS_ABS=$(foreach script,$(DEBUGGER_BIN_SCRIPTS), \
21+
$(CFG_SRC_DIR)src/etc/$(script))
5022

23+
DEBUGGER_SCRIPTS_ALL=$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ABS) $(DEBUGGER_BIN_SCRIPTS_ABS)
5124

5225
# $(1) - the stage to copy to
5326
# $(2) - the host triple
5427
define DEF_INSTALL_DEBUGGER_SCRIPTS_HOST
5528

56-
tmp/install-debugger-scripts$(1)_H_$(2)-gdb.done: \
57-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) \
58-
$$(DEBUGGER_BIN_SCRIPTS_GDB_ABS)
59-
$(Q)mkdir -p $$(HBIN$(1)_H_$(2))
60-
$(Q)mkdir -p $$(HLIB$(1)_H_$(2))/rustlib/etc
61-
$(Q)install $$(DEBUGGER_BIN_SCRIPTS_GDB_ABS) $$(HBIN$(1)_H_$(2))
62-
$(Q)install $$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) $$(HLIB$(1)_H_$(2))/rustlib/etc
63-
$(Q)touch $$@
64-
65-
tmp/install-debugger-scripts$(1)_H_$(2)-lldb.done: \
66-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS) \
67-
$$(DEBUGGER_BIN_SCRIPTS_LLDB_ABS)
68-
$(Q)mkdir -p $$(HBIN$(1)_H_$(2))
69-
$(Q)mkdir -p $$(HLIB$(1)_H_$(2))/rustlib/etc
70-
$(Q)install $$(DEBUGGER_BIN_SCRIPTS_LLDB_ABS) $$(HBIN$(1)_H_$(2))
71-
$(Q)install $$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS) $$(HLIB$(1)_H_$(2))/rustlib/etc
72-
$(Q)touch $$@
73-
74-
tmp/install-debugger-scripts$(1)_H_$(2)-all.done: \
75-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS) \
76-
$$(DEBUGGER_BIN_SCRIPTS_ALL_ABS)
29+
tmp/install-debugger-scripts$(1)_H_$(2).done: $$(DEBUGGER_SCRIPTS_ALL)
7730
$(Q)mkdir -p $$(HBIN$(1)_H_$(2))
7831
$(Q)mkdir -p $$(HLIB$(1)_H_$(2))/rustlib/etc
79-
$(Q)install $$(DEBUGGER_BIN_SCRIPTS_ALL_ABS) $$(HBIN$(1)_H_$(2))
80-
$(Q)install $$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS) $$(HLIB$(1)_H_$(2))/rustlib/etc
32+
$(Q)install $(DEBUGGER_BIN_SCRIPTS_ABS) $$(HBIN$(1)_H_$(2))
33+
$(Q)install $(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ABS) $$(HLIB$(1)_H_$(2))/rustlib/etc
8134
$(Q)touch $$@
82-
83-
tmp/install-debugger-scripts$(1)_H_$(2)-none.done:
84-
$(Q)touch $$@
85-
8635
endef
8736

8837
# Expand host make-targets for all stages
@@ -95,36 +44,12 @@ $(foreach stage,$(STAGES), \
9544
# $(3) is the host triple
9645
define DEF_INSTALL_DEBUGGER_SCRIPTS_TARGET
9746

98-
tmp/install-debugger-scripts$(1)_T_$(2)_H_$(3)-gdb.done: \
99-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) \
100-
$$(DEBUGGER_BIN_SCRIPTS_GDB_ABS)
101-
$(Q)mkdir -p $$(TBIN$(1)_T_$(2)_H_$(3))
102-
$(Q)mkdir -p $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
103-
$(Q)install $(DEBUGGER_BIN_SCRIPTS_GDB_ABS) $$(TBIN$(1)_T_$(2)_H_$(3))
104-
$(Q)install $(DEBUGGER_RUSTLIB_ETC_SCRIPTS_GDB_ABS) $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
105-
$(Q)touch $$@
106-
107-
tmp/install-debugger-scripts$(1)_T_$(2)_H_$(3)-lldb.done: \
108-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS) \
109-
$$(DEBUGGER_BIN_SCRIPTS_LLDB_ABS)
47+
tmp/install-debugger-scripts$(1)_T_$(2)_H_$(3).done: $$(DEBUGGER_SCRIPTS_ALL)
11048
$(Q)mkdir -p $$(TBIN$(1)_T_$(2)_H_$(3))
11149
$(Q)mkdir -p $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
112-
$(Q)install $(DEBUGGER_BIN_SCRIPTS_LLDB_ABS) $$(TBIN$(1)_T_$(2)_H_$(3))
113-
$(Q)install $(DEBUGGER_RUSTLIB_ETC_SCRIPTS_LLDB_ABS) $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
50+
$(Q)install $(DEBUGGER_BIN_SCRIPTS_ABS) $$(TBIN$(1)_T_$(2)_H_$(3))
51+
$(Q)install $(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ABS) $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
11452
$(Q)touch $$@
115-
116-
tmp/install-debugger-scripts$(1)_T_$(2)_H_$(3)-all.done: \
117-
$$(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS) \
118-
$$(DEBUGGER_BIN_SCRIPTS_ALL_ABS)
119-
$(Q)mkdir -p $$(TBIN$(1)_T_$(2)_H_$(3))
120-
$(Q)mkdir -p $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
121-
$(Q)install $(DEBUGGER_BIN_SCRIPTS_ALL_ABS) $$(TBIN$(1)_T_$(2)_H_$(3))
122-
$(Q)install $(DEBUGGER_RUSTLIB_ETC_SCRIPTS_ALL_ABS) $$(TLIB$(1)_T_$(2)_H_$(3))/rustlib/etc
123-
$(Q)touch $$@
124-
125-
tmp/install-debugger-scripts$(1)_T_$(2)_H_$(3)-none.done:
126-
$(Q)touch $$@
127-
12853
endef
12954

13055
# Expand target make-targets for all stages

0 commit comments

Comments
 (0)