Skip to content

Commit f0301f5

Browse files
committed
---
yaml --- r: 274813 b: refs/heads/stable c: 974ba28 h: refs/heads/master i: 274811: 81ecfd8
1 parent 57e89e3 commit f0301f5

File tree

318 files changed

+4456
-9658
lines changed

Some content is hidden

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

318 files changed

+4456
-9658
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 77f9231818514c4ded23e6aa1ae431a8ba4668bf
32+
refs/heads/stable: 974ba28add7fd43f94f5aac876777b2bc3a8092b
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,3 @@ tmp.*.rs
9393
version.md
9494
version.ml
9595
version.texi
96-
/target

branches/stable/configure

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,6 @@ opt stage0-landing-pads 1 "enable landing pads during bootstrap with stage0"
606606
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"
609-
opt rustbuild 0 "use the rust and cargo based build system"
610609

611610
# Optimization and debugging options. These may be overridden by the release channel, etc.
612611
opt_nosave optimize 1 "build optimized rust code"
@@ -626,7 +625,7 @@ valopt llvm-root "" "set LLVM root"
626625
valopt python "" "set path to python"
627626
valopt jemalloc-root "" "set directory where libjemalloc_pic.a is located"
628627
valopt build "${DEFAULT_BUILD}" "GNUs ./configure syntax LLVM build triple"
629-
valopt android-cross-path "" "Android NDK standalone path (deprecated)"
628+
valopt android-cross-path "/opt/ndk_standalone" "Android NDK standalone path (deprecated)"
630629
valopt i686-linux-android-ndk "" "i686-linux-android NDK standalone path"
631630
valopt arm-linux-androideabi-ndk "" "arm-linux-androideabi NDK standalone path"
632631
valopt aarch64-linux-android-ndk "" "aarch64-linux-android NDK standalone path"
@@ -1423,7 +1422,7 @@ done
14231422
step_msg "configuring submodules"
14241423

14251424
# Have to be in the top of src directory for this
1426-
if [ -z $CFG_DISABLE_MANAGE_SUBMODULES ] && [ -z $CFG_ENABLE_RUSTBUILD ]
1425+
if [ -z $CFG_DISABLE_MANAGE_SUBMODULES ]
14271426
then
14281427
cd ${CFG_SRC_DIR}
14291428

@@ -1482,11 +1481,7 @@ do
14821481
;;
14831482
esac
14841483

1485-
if [ -n "$CFG_ENABLE_RUSTBUILD" ]
1486-
then
1487-
msg "not configuring LLVM, rustbuild in use"
1488-
do_reconfigure=0
1489-
elif [ -z $CFG_LLVM_ROOT ]
1484+
if [ -z $CFG_LLVM_ROOT ]
14901485
then
14911486
LLVM_BUILD_DIR=${CFG_BUILD_DIR}$t/llvm
14921487
if [ -n "$CFG_DISABLE_OPTIMIZE_LLVM" ]
@@ -1817,15 +1812,8 @@ do
18171812
putvar $CFG_LLVM_INST_DIR
18181813
done
18191814

1820-
if [ -n "$CFG_ENABLE_RUSTBUILD" ]
1821-
then
1822-
INPUT_MAKEFILE=src/bootstrap/mk/Makefile.in
1823-
else
1824-
INPUT_MAKEFILE=Makefile.in
1825-
fi
1826-
18271815
msg
1828-
copy_if_changed ${CFG_SRC_DIR}${INPUT_MAKEFILE} ./Makefile
1816+
copy_if_changed ${CFG_SRC_DIR}Makefile.in ./Makefile
18291817
move_if_changed config.tmp config.mk
18301818
rm -f config.tmp
18311819
touch config.stamp

branches/stable/mk/crates.mk

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ DEPS_rustc_passes := syntax rustc core rustc_front
106106
DEPS_rustc_mir := rustc rustc_front syntax
107107
DEPS_rustc_resolve := arena rustc rustc_front log syntax
108108
DEPS_rustc_platform_intrinsics := rustc rustc_llvm
109-
DEPS_rustc_plugin := rustc rustc_metadata syntax rustc_mir
109+
DEPS_rustc_plugin := rustc rustc_metadata syntax
110110
DEPS_rustc_privacy := rustc rustc_front log syntax
111111
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back rustc_mir \
112112
log syntax serialize rustc_llvm rustc_front rustc_platform_intrinsics
@@ -144,7 +144,8 @@ TARGET_CRATES += alloc_jemalloc
144144
DEPS_std += alloc_jemalloc
145145
DEPS_alloc_jemalloc := core libc native:jemalloc
146146
ONLY_RLIB_alloc_jemalloc := 1
147-
RUSTFLAGS_rustc_back := --cfg 'feature="jemalloc"'
147+
else
148+
RUSTFLAGS_rustc_back := --cfg disable_jemalloc
148149
endif
149150

150151
################################################################################

branches/stable/mk/llvm.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ $(foreach host,$(CFG_HOST), \
102102
define LLVM_LINKAGE_DEPS
103103
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.rustc_llvm: $$(LLVM_LINKAGE_PATH_$(2))
104104
RUSTFLAGS$(1)_rustc_llvm_T_$(2) += $$(shell echo $$(LLVM_ALL_COMPONENTS_$(2)) | tr '-' '_' |\
105-
sed -e 's/^ //;s/\([^ ]*\)/\-\-cfg "llvm_component=\\"\1\\""/g')
105+
sed -e 's/^ //;s/\([^ ]*\)/\-\-cfg have_component_\1/g')
106106
endef
107107

108108
$(foreach source,$(CFG_HOST), \

branches/stable/src/bootstrap/Cargo.lock

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

branches/stable/src/bootstrap/Cargo.toml

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

branches/stable/src/bootstrap/README.md

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

0 commit comments

Comments
 (0)