Skip to content

Commit 395f37c

Browse files
committed
---
yaml --- r: 271779 b: refs/heads/auto c: 93f2a54 h: refs/heads/master i: 271777: 09e5ba9 271775: f10bd7f
1 parent 8091474 commit 395f37c

File tree

979 files changed

+25688
-35618
lines changed

Some content is hidden

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

979 files changed

+25688
-35618
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: 1f131fbe7799b9c3d4a775798b90760f7c11ef33
11+
refs/heads/auto: 93f2a54609540859d26a30eb833388b20621182b
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ build.
7777
7878
Download [MinGW from
7979
here](http://mingw-w64.org/doku.php/download/mingw-builds), and choose the
80-
`version=4.9.x,threads=win32,exceptions=dwarf/seh` flavor when installing. Also, make sure to install to a path without spaces in it. After installing,
80+
`threads=win32,exceptions=dwarf/seh` flavor when installing. Also, make sure to install to a path without spaces in it. After installing,
8181
add its `bin` directory to your `PATH`. This is due to [#28260](https://github.com/rust-lang/rust/issues/28260), in the future,
8282
installing from pacman should be just fine.
8383

branches/auto/RELEASES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ Compatibility Notes
116116
that were not intended. In this release, [defaulted type parameters
117117
appearing outside of type definitions will generate a
118118
warning][1.7d], which will become an error in future releases.
119-
* [Parsing "." as a float results in an error instead of 0][1.7p].
120-
That is, `".".parse::<f32>()` returns `Err`, not `Ok(0.0)`.
119+
* [Parsing "." as a float results in an error instead of
120+
0][1.7p]. That is, `".".parse::<f32>()` returns `Err`, not `Ok(0)`.
121121
* [Borrows of closure parameters may not outlive the closure][1.7bc].
122122

123123
[1.7a]: https://github.com/rust-lang/rust/pull/30928

branches/auto/configure

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ opt dist-host-only 0 "only install bins for the host architecture"
607607
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
608608
opt llvm-version-check 1 "check if the LLVM version is supported, build anyway"
609609
opt rustbuild 0 "use the rust and cargo based build system"
610-
opt orbit 0 "get MIR where it belongs - everywhere; most importantly, in orbit"
611610

612611
# Optimization and debugging options. These may be overridden by the release channel, etc.
613612
opt_nosave optimize 1 "build optimized rust code"
@@ -714,8 +713,6 @@ if [ -n "$CFG_ENABLE_DEBUG_ASSERTIONS" ]; then putvar CFG_ENABLE_DEBUG_ASSERTION
714713
if [ -n "$CFG_ENABLE_DEBUGINFO" ]; then putvar CFG_ENABLE_DEBUGINFO; fi
715714
if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; fi
716715

717-
if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
718-
719716
# A magic value that allows the compiler to use unstable features
720717
# during the bootstrap even when doing so would normally be an error
721718
# because of feature staging or because the build turns on
@@ -969,11 +966,11 @@ then
969966
LLVM_VERSION=$($LLVM_CONFIG --version)
970967

971968
case $LLVM_VERSION in
972-
(3.[6-8]*)
969+
(3.[5-8]*)
973970
msg "found ok version of LLVM: $LLVM_VERSION"
974971
;;
975972
(*)
976-
err "bad LLVM version: $LLVM_VERSION, need >=3.6"
973+
err "bad LLVM version: $LLVM_VERSION, need >=3.5"
977974
;;
978975
esac
979976
fi
@@ -1034,7 +1031,7 @@ then
10341031
if [ -n "$CFG_OSX_CLANG_VERSION" ]
10351032
then
10361033
case $CFG_OSX_CLANG_VERSION in
1037-
(7.0* | 7.1* | 7.2* | 7.3*)
1034+
(7.0* | 7.1* | 7.2*)
10381035
step_msg "found ok version of APPLE CLANG: $CFG_OSX_CLANG_VERSION"
10391036
;;
10401037
(*)

branches/auto/mk/cfg/i586-pc-windows-msvc.mk

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

branches/auto/mk/cfg/i586-unknown-linux-gnu.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ CFG_LIB_NAME_i586-unknown-linux-gnu=lib$(1).so
77
CFG_STATIC_LIB_NAME_i586-unknown-linux-gnu=lib$(1).a
88
CFG_LIB_GLOB_i586-unknown-linux-gnu=lib$(1)-*.so
99
CFG_LIB_DSYM_GLOB_i586-unknown-linux-gnu=lib$(1)-*.dylib.dSYM
10-
CFG_JEMALLOC_CFLAGS_i586-unknown-linux-gnu := -m32 $(CFLAGS) -march=pentium
11-
CFG_GCCISH_CFLAGS_i586-unknown-linux-gnu := -Wall -Werror -g -fPIC -m32 $(CFLAGS) -march=pentium
12-
CFG_GCCISH_CXXFLAGS_i586-unknown-linux-gnu := -fno-rtti $(CXXFLAGS) -march=pentium
10+
CFG_JEMALLOC_CFLAGS_i586-unknown-linux-gnu := -m32 $(CFLAGS)
11+
CFG_GCCISH_CFLAGS_i586-unknown-linux-gnu := -Wall -Werror -g -fPIC -m32 $(CFLAGS)
12+
CFG_GCCISH_CXXFLAGS_i586-unknown-linux-gnu := -fno-rtti $(CXXFLAGS)
1313
CFG_GCCISH_LINK_FLAGS_i586-unknown-linux-gnu := -shared -fPIC -ldl -pthread -lrt -g -m32
1414
CFG_GCCISH_DEF_FLAG_i586-unknown-linux-gnu := -Wl,--export-dynamic,--dynamic-list=
1515
CFG_LLC_FLAGS_i586-unknown-linux-gnu :=

branches/auto/mk/crates.mk

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ TARGET_CRATES := libc std term \
5353
getopts collections test rand \
5454
core alloc \
5555
rustc_unicode rustc_bitflags \
56-
alloc_system alloc_jemalloc rustc_const_eval
56+
alloc_system alloc_jemalloc
5757
RUSTC_CRATES := rustc rustc_typeck rustc_mir rustc_borrowck rustc_resolve rustc_driver \
5858
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
5959
rustc_data_structures rustc_front rustc_platform_intrinsics \
60-
rustc_plugin rustc_metadata rustc_passes rustc_save_analysis
60+
rustc_plugin rustc_metadata rustc_passes
6161
HOST_CRATES := syntax syntax_ext $(RUSTC_CRATES) rustdoc fmt_macros \
6262
flate arena graphviz rbml log serialize
6363
TOOLS := compiletest rustdoc rustc rustbook error_index_generator
@@ -91,48 +91,43 @@ DEPS_test := std getopts term native:rust_test_helpers
9191
DEPS_syntax := std term serialize log arena libc rustc_bitflags rustc_unicode
9292
DEPS_syntax_ext := syntax fmt_macros
9393

94-
DEPS_rustc_const_eval := std syntax
95-
9694
DEPS_rustc := syntax fmt_macros flate arena serialize getopts rbml rustc_front\
97-
log graphviz rustc_llvm rustc_back rustc_data_structures\
98-
rustc_const_eval
95+
log graphviz rustc_llvm rustc_back rustc_data_structures
9996
DEPS_rustc_back := std syntax rustc_llvm rustc_front flate log libc
100-
DEPS_rustc_borrowck := rustc rustc_front rustc_mir log graphviz syntax
97+
DEPS_rustc_borrowck := rustc rustc_front log graphviz syntax
10198
DEPS_rustc_data_structures := std log serialize
10299
DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_borrowck \
103100
rustc_typeck rustc_mir rustc_resolve log syntax serialize rustc_llvm \
104101
rustc_trans rustc_privacy rustc_lint rustc_front rustc_plugin \
105-
rustc_metadata syntax_ext rustc_passes rustc_save_analysis
102+
rustc_metadata syntax_ext rustc_passes
106103
DEPS_rustc_front := std syntax log serialize
107104
DEPS_rustc_lint := rustc log syntax
108105
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
109-
DEPS_rustc_metadata := rustc rustc_front syntax rbml rustc_const_eval
106+
DEPS_rustc_metadata := rustc rustc_front syntax rbml
110107
DEPS_rustc_passes := syntax rustc core rustc_front
111-
DEPS_rustc_mir := rustc rustc_front syntax rustc_const_eval
108+
DEPS_rustc_mir := rustc rustc_front syntax
112109
DEPS_rustc_resolve := arena rustc rustc_front log syntax
113110
DEPS_rustc_platform_intrinsics := rustc rustc_llvm
114111
DEPS_rustc_plugin := rustc rustc_metadata syntax rustc_mir
115112
DEPS_rustc_privacy := rustc rustc_front log syntax
116113
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back rustc_mir \
117-
log syntax serialize rustc_llvm rustc_front rustc_platform_intrinsics \
118-
rustc_const_eval
119-
DEPS_rustc_save_analysis := rustc log syntax rustc_front
120-
DEPS_rustc_typeck := rustc syntax rustc_front rustc_platform_intrinsics rustc_const_eval
114+
log syntax serialize rustc_llvm rustc_front rustc_platform_intrinsics
115+
DEPS_rustc_typeck := rustc syntax rustc_front rustc_platform_intrinsics
121116

122117
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
123118
test rustc_lint rustc_front
124119

125120

126-
TOOL_DEPS_compiletest := test getopts log
121+
TOOL_DEPS_compiletest := test getopts
127122
TOOL_DEPS_rustdoc := rustdoc
128123
TOOL_DEPS_rustc := rustc_driver
129124
TOOL_DEPS_rustbook := std rustdoc
130125
TOOL_DEPS_error_index_generator := rustdoc syntax serialize
131126
TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs
132127
TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
133128
TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
134-
TOOL_SOURCE_rustbook := $(S)src/tools/rustbook/main.rs
135-
TOOL_SOURCE_error_index_generator := $(S)src/tools/error_index_generator/main.rs
129+
TOOL_SOURCE_rustbook := $(S)src/rustbook/main.rs
130+
TOOL_SOURCE_error_index_generator := $(S)src/error_index_generator/main.rs
136131

137132
ONLY_RLIB_core := 1
138133
ONLY_RLIB_libc := 1

branches/auto/mk/dist.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ PKG_FILES := \
5454
doc \
5555
driver \
5656
etc \
57+
error_index_generator \
5758
$(foreach crate,$(CRATES),lib$(crate)) \
5859
libcollectionstest \
5960
libcoretest \
@@ -64,7 +65,7 @@ PKG_FILES := \
6465
rustc \
6566
snapshots.txt \
6667
rust-installer \
67-
tools \
68+
rustbook \
6869
test) \
6970
$(PKG_GITMODULES) \
7071
$(filter-out config.stamp, \

branches/auto/mk/main.mk

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,6 @@ ifdef CFG_ENABLE_DEBUGINFO
134134
CFG_RUSTC_FLAGS += -g
135135
endif
136136

137-
ifdef CFG_ENABLE_ORBIT
138-
$(info cfg: launching MIR (CFG_ENABLE_ORBIT))
139-
CFG_RUSTC_FLAGS += -Z orbit
140-
endif
141-
142137
ifdef SAVE_TEMPS
143138
CFG_RUSTC_FLAGS += --save-temps
144139
endif
@@ -493,7 +488,7 @@ endif
493488
LD_LIBRARY_PATH_ENV_HOSTDIR$(1)_T_$(2)_H_$(3) := \
494489
$$(CURDIR)/$$(HLIB$(1)_H_$(3)):$$(CFG_LLVM_INST_DIR_$(3))/lib
495490
LD_LIBRARY_PATH_ENV_TARGETDIR$(1)_T_$(2)_H_$(3) := \
496-
$$(CURDIR)/$$(TLIB$(1)_T_$(2)_H_$(CFG_BUILD))
491+
$$(CURDIR)/$$(TLIB1_T_$(2)_H_$(CFG_BUILD))
497492

498493
HOST_RPATH_VAR$(1)_T_$(2)_H_$(3) := \
499494
$$(LD_LIBRARY_PATH_ENV_NAME$(1)_T_$(2)_H_$(3))=$$(LD_LIBRARY_PATH_ENV_HOSTDIR$(1)_T_$(2)_H_$(3)):$$$$$$(LD_LIBRARY_PATH_ENV_NAME$(1)_T_$(2)_H_$(3))

branches/auto/mk/target.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
8989
$$(RUSTFLAGS$(1)_$(4)_T_$(2)) \
9090
--out-dir $$(@D) \
9191
-C extra-filename=-$$(CFG_FILENAME_EXTRA) \
92-
-C metadata=$$(CFG_FILENAME_EXTRA) \
9392
$$<
9493
@touch -r $$@.start_time $$@ && rm $$@.start_time
9594
$$(call LIST_ALL_OLD_GLOB_MATCHES, \

branches/auto/mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ $(3)/stage$(1)/test/$(4)test-$(2)$$(X_$(2)): \
383383
@$$(call E, rustc: $$@)
384384
$(Q)CFG_LLVM_LINKAGE_FILE=$$(LLVM_LINKAGE_PATH_$(2)) \
385385
$$(subst @,,$$(STAGE$(1)_T_$(2)_H_$(3))) -o $$@ $$< --test \
386-
-Cmetadata="test-crate" -L "$$(RT_OUTPUT_DIR_$(2))" \
386+
-L "$$(RT_OUTPUT_DIR_$(2))" \
387387
$$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
388388
$$(RUSTFLAGS_$(4))
389389

branches/auto/src/bootstrap/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ path = "main.rs"
1515
name = "rustc"
1616
path = "rustc.rs"
1717

18-
[[bin]]
19-
name = "rustdoc"
20-
path = "rustdoc.rs"
21-
2218
[dependencies]
2319
build_helper = { path = "../build_helper" }
2420
cmake = "0.1.10"

branches/auto/src/bootstrap/build/channel.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,19 @@ pub fn collect(build: &mut Build) {
3636
match &build.config.channel[..] {
3737
"stable" => {
3838
build.release = release_num.to_string();
39-
build.package_vers = build.release.clone();
4039
build.unstable_features = false;
4140
}
4241
"beta" => {
4342
build.release = format!("{}-beta{}", release_num,
4443
prerelease_version);
45-
build.package_vers = "beta".to_string();
4644
build.unstable_features = false;
4745
}
4846
"nightly" => {
4947
build.release = format!("{}-nightly", release_num);
50-
build.package_vers = "nightly".to_string();
5148
build.unstable_features = true;
5249
}
5350
_ => {
5451
build.release = format!("{}-dev", release_num);
55-
build.package_vers = build.release.clone();
5652
build.unstable_features = true;
5753
}
5854
}

branches/auto/src/bootstrap/build/check.rs

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

0 commit comments

Comments
 (0)