Skip to content

Commit 7bcf420

Browse files
committed
---
yaml --- r: 227165 b: refs/heads/auto c: 23f4389 h: refs/heads/master i: 227163: b131dd0 v: v3
1 parent ab2cbba commit 7bcf420

File tree

462 files changed

+5804
-5536
lines changed

Some content is hidden

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

462 files changed

+5804
-5536
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: 138252cc6a59420144b261a6537dcc2d95551981
11+
refs/heads/auto: 23f43896ce92830173e503eab8b2f7fba8137e37
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/RELEASES.md

Lines changed: 1 addition & 1 deletion

branches/auto/mk/clean.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ define CLEAN_TARGET_STAGE_N
101101
clean$(1)_T_$(2)_H_$(3): \
102102
$$(foreach crate,$$(CRATES),clean$(1)_T_$(2)_H_$(3)-lib-$$(crate)) \
103103
$$(foreach tool,$$(TOOLS) $$(DEBUGGER_BIN_SCRIPTS_ALL),clean$(1)_T_$(2)_H_$(3)-tool-$$(tool))
104-
$$(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
107106
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/run_pass_stage* # For windows

branches/auto/mk/crates.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ DEPS_libc := core
6565
DEPS_rustc_unicode := core
6666
DEPS_alloc := core libc native:jemalloc
6767
DEPS_std := core libc rand alloc collections rustc_unicode \
68-
native:rust_builtin native:backtrace native:rustrt_native \
68+
native:rust_builtin native:backtrace \
6969
rustc_bitflags
7070
DEPS_graphviz := std
7171
DEPS_syntax := std term serialize log fmt_macros arena libc

branches/auto/mk/docs.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ERR_IDX_GEN = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $(ERR_IDX_GEN_EXE)
7777

7878
D := $(S)src/doc
7979

80-
DOC_TARGETS := trpl tarpl style error-index
80+
DOC_TARGETS := trpl nomicon style error-index
8181
COMPILER_DOC_TARGETS :=
8282
DOC_L10N_TARGETS :=
8383

@@ -287,12 +287,12 @@ doc/book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/trpl/*.md) | doc/
287287
$(Q)rm -rf doc/book
288288
$(Q)$(RUSTBOOK) build $(S)src/doc/trpl doc/book
289289

290-
tarpl: doc/adv-book/index.html
290+
nomicon: doc/nomicon/index.html
291291

292-
doc/adv-book/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/tarpl/*.md) | doc/
292+
doc/nomicon/index.html: $(RUSTBOOK_EXE) $(wildcard $(S)/src/doc/nomicon/*.md) | doc/
293293
@$(call E, rustbook: $@)
294-
$(Q)rm -rf doc/adv-book
295-
$(Q)$(RUSTBOOK) build $(S)src/doc/tarpl doc/adv-book
294+
$(Q)rm -rf doc/nomicon
295+
$(Q)$(RUSTBOOK) build $(S)src/doc/nomicon doc/nomicon
296296

297297
style: doc/style/index.html
298298

branches/auto/mk/main.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
######################################################################
1414

1515
# The version number
16-
CFG_RELEASE_NUM=1.3.0
16+
CFG_RELEASE_NUM=1.4.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
@@ -163,7 +163,7 @@ endif
163163
# that the snapshot will be generated with a statically linked rustc so we only
164164
# have to worry about the distribution of one file (with its native dynamic
165165
# dependencies)
166-
RUSTFLAGS_STAGE0 += -C prefer-dynamic
166+
RUSTFLAGS_STAGE0 += -C prefer-dynamic -C no-stack-check
167167
RUSTFLAGS_STAGE1 += -C prefer-dynamic
168168
RUST_LIB_FLAGS_ST2 += -C prefer-dynamic
169169
RUST_LIB_FLAGS_ST3 += -C prefer-dynamic
@@ -400,6 +400,11 @@ TSREQ$(1)_T_$(2)_H_$(3) = \
400400
$$(foreach obj,$$(INSTALLED_OBJECTS_$(2)),\
401401
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(obj))
402402

403+
ifeq ($(1),0)
404+
TSREQ$(1)_T_$(2)_H_$(3) += \
405+
$$(TLIB$(1)_T_$(2)_H_$(3))/$$(call CFG_STATIC_LIB_NAME_$(2),morestack)
406+
endif
407+
403408
# Prerequisites for a working stageN compiler and libraries, for a specific
404409
# target
405410
SREQ$(1)_T_$(2)_H_$(3) = \

branches/auto/mk/platform.mk

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ CFG_RLIB_GLOB=lib$(1)-*.rlib
113113
include $(wildcard $(CFG_SRC_DIR)mk/cfg/*.mk)
114114

115115
define ADD_INSTALLED_OBJECTS
116-
INSTALLED_OBJECTS_$(1) += $$(call CFG_STATIC_LIB_NAME_$(1),morestack) \
117-
$$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt)
116+
INSTALLED_OBJECTS_$(1) += $$(call CFG_STATIC_LIB_NAME_$(1),compiler-rt)
118117
endef
119118

120119
$(foreach target,$(CFG_TARGET), \
@@ -281,10 +280,15 @@ $(foreach target,$(CFG_TARGET), \
281280
# Fun times!
282281
#
283282
# [1]: https://msdn.microsoft.com/en-us/library/28d6s79h.aspx
283+
#
284+
# FIXME(stage0): remove this macro and the usage below (and the commments above)
285+
# when a new snapshot is available. Also remove the
286+
# RUSTFLAGS$(1)_.._T_ variable in mk/target.mk along with
287+
# CUSTOM_DEPS (as they were only added for this)
284288
define ADD_RUSTC_LLVM_DEF_TO_MSVC
285289
ifeq ($$(findstring msvc,$(1)),msvc)
286-
RUSTFLAGS_rustc_llvm_T_$(1) += -C link-args="-DEF:$(1)/rt/rustc_llvm.def"
287-
CUSTOM_DEPS_rustc_llvm_T_$(1) += $(1)/rt/rustc_llvm.def
290+
RUSTFLAGS0_rustc_llvm_T_$(1) += -C link-args="-DEF:$(1)/rt/rustc_llvm.def"
291+
CUSTOM_DEPS0_rustc_llvm_T_$(1) += $(1)/rt/rustc_llvm.def
288292

289293
$(1)/rt/rustc_llvm.def: $$(S)src/etc/mklldef.py $$(S)src/librustc_llvm/lib.rs
290294
$$(CFG_PYTHON) $$^ $$@ rustc_llvm-$$(CFG_FILENAME_EXTRA)

branches/auto/mk/rt.mk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
# that's per-target so you're allowed to conditionally add files based on the
3636
# target.
3737
################################################################################
38-
NATIVE_LIBS := rust_builtin hoedown morestack miniz \
39-
rustrt_native rust_test_helpers
38+
NATIVE_LIBS := rust_builtin hoedown miniz \
39+
rust_test_helpers morestack
4040

4141
# $(1) is the target triple
4242
define NATIVE_LIBRARIES
@@ -53,10 +53,8 @@ NATIVE_DEPS_hoedown_$(1) := hoedown/src/autolink.c \
5353
NATIVE_DEPS_miniz_$(1) = miniz.c
5454
NATIVE_DEPS_rust_builtin_$(1) := rust_builtin.c \
5555
rust_android_dummy.c
56-
NATIVE_DEPS_rustrt_native_$(1) := arch/$$(HOST_$(1))/record_sp.S
5756
NATIVE_DEPS_rust_test_helpers_$(1) := rust_test_helpers.c
58-
NATIVE_DEPS_morestack_$(1) := arch/$$(HOST_$(1))/morestack.S
59-
57+
NATIVE_DEPS_morestack_$(1) := empty.c
6058

6159
################################################################################
6260
# You shouldn't find it that necessary to edit anything below this line.

branches/auto/mk/target.mk

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CRATE_FULLDEPS_$(1)_T_$(2)_H_$(3)_$(4) := \
4040
$$(RT_OUTPUT_DIR_$(2))/$$(dep)) \
4141
$$(foreach dep,$$(NATIVE_TOOL_DEPS_$(4)_T_$(2)), \
4242
$$(TBIN$(1)_T_$(3)_H_$(3))/$$(dep)) \
43-
$$(CUSTOM_DEPS_$(4)_T_$(2))
43+
$$(CUSTOM_DEPS$(1)_$(4)_T_$(2))
4444
endef
4545

4646
$(foreach host,$(CFG_HOST), \
@@ -56,8 +56,7 @@ $(foreach host,$(CFG_HOST), \
5656
# 1. The immediate dependencies are the rust source files
5757
# 2. Each rust crate dependency is listed (based on their stamp files),
5858
# as well as all native dependencies (listed in RT_OUTPUT_DIR)
59-
# 3. The stage (n-1) compiler is required through the TSREQ dependency, along
60-
# with the morestack library
59+
# 3. The stage (n-1) compiler is required through the TSREQ dependency
6160
# 4. When actually executing the rule, the first thing we do is to clean out
6261
# old libs and rlibs via the REMOVE_ALL_OLD_GLOB_MATCHES macro
6362
# 5. Finally, we get around to building the actual crate. It's just one
@@ -93,7 +92,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
9392
$$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
9493
$$(LLVM_STDCPP_RUSTFLAGS_$(2)) \
9594
$$(RUSTFLAGS_$(4)) \
96-
$$(RUSTFLAGS_$(4)_T_$(2)) \
95+
$$(RUSTFLAGS$(1)_$(4)_T_$(2)) \
9796
--out-dir $$(@D) \
9897
-C extra-filename=-$$(CFG_FILENAME_EXTRA) \
9998
$$<

branches/auto/mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ $(foreach doc,$(DOCS), \
162162
$(eval $(call DOCTEST,md-$(doc),$(S)src/doc/$(doc).md)))
163163
$(foreach file,$(wildcard $(S)src/doc/trpl/*.md), \
164164
$(eval $(call DOCTEST,$(file:$(S)src/doc/trpl/%.md=trpl-%),$(file))))
165-
$(foreach file,$(wildcard $(S)src/doc/tarpl/*.md), \
166-
$(eval $(call DOCTEST,$(file:$(S)src/doc/tarpl/%.md=tarpl-%),$(file))))
165+
$(foreach file,$(wildcard $(S)src/doc/nomicon/*.md), \
166+
$(eval $(call DOCTEST,$(file:$(S)src/doc/nomicon/%.md=nomicon-%),$(file))))
167167
######################################################################
168168
# Main test targets
169169
######################################################################

branches/auto/src/compiletest/procsrv.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ fn add_target_env(cmd: &mut Command, lib_path: &str, aux_path: Option<&str>) {
2626
// Add the new dylib search path var
2727
let var = DynamicLibrary::envvar();
2828
let newpath = DynamicLibrary::create_path(&path);
29-
let newpath = newpath.to_str().unwrap().to_string();
30-
cmd.env(var, &newpath);
29+
cmd.env(var, newpath);
3130
}
3231

3332
pub struct Result {pub status: ExitStatus, pub out: String, pub err: String}
Lines changed: 38 additions & 0 deletions

branches/auto/src/doc/tarpl/atomics.md renamed to branches/auto/src/doc/nomicon/atomics.md

Lines changed: 1 addition & 1 deletion

branches/auto/src/doc/tarpl/concurrency.md renamed to branches/auto/src/doc/nomicon/concurrency.md

Lines changed: 1 addition & 1 deletion

branches/auto/src/doc/tarpl/destructors.md renamed to branches/auto/src/doc/nomicon/destructors.md

Lines changed: 1 addition & 1 deletion

branches/auto/src/doc/tarpl/drop-flags.md renamed to branches/auto/src/doc/nomicon/drop-flags.md

Lines changed: 1 addition & 1 deletion

branches/auto/src/doc/tarpl/dropck.md renamed to branches/auto/src/doc/nomicon/dropck.md

Lines changed: 1 addition & 1 deletion

branches/auto/src/doc/tarpl/exotic-sizes.md renamed to branches/auto/src/doc/nomicon/exotic-sizes.md

Lines changed: 2 additions & 2 deletions

branches/auto/src/doc/tarpl/lifetimes.md renamed to branches/auto/src/doc/nomicon/lifetimes.md

Lines changed: 1 addition & 2 deletions

branches/auto/src/doc/tarpl/repr-rust.md renamed to branches/auto/src/doc/nomicon/repr-rust.md

Lines changed: 24 additions & 22 deletions

branches/auto/src/doc/tarpl/send-and-sync.md renamed to branches/auto/src/doc/nomicon/send-and-sync.md

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)