Skip to content

Commit 755e97b

Browse files
committed
---
yaml --- r: 151450 b: refs/heads/try2 c: 49efab8 h: refs/heads/master v: v3
1 parent d58cf14 commit 755e97b

File tree

793 files changed

+26473
-25412
lines changed

Some content is hidden

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

793 files changed

+26473
-25412
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 74172341aab4dc105f3dc1f4dd61237cc4d72d96
8+
refs/heads/try2: 49efab8ac9044e2cb8ea31ac16fa088af88faf4d
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@
1212
[submodule "src/compiler-rt"]
1313
path = src/compiler-rt
1414
url = https://github.com/rust-lang/compiler-rt.git
15-
[submodule "src/rt/hoedown"]
16-
path = src/rt/hoedown
17-
url = https://github.com/rust-lang/hoedown.git

branches/try2/configure

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -466,26 +466,6 @@ probe CFG_PDFLATEX pdflatex
466466
probe CFG_XELATEX xelatex
467467
probe CFG_LUALATEX lualatex
468468
probe CFG_GDB gdb
469-
probe CFG_LLDB lldb
470-
471-
if [ ! -z "$CFG_LLDB" ]
472-
then
473-
# If CFG_LLDB_PYTHON_DIR is not already set from the outside and valid, try to read it from
474-
# LLDB via the -P commandline options.
475-
if [ -z "$CFG_LLDB_PYTHON_DIR" ] || [ ! -d "$CFG_LLDB_PYTHON_DIR" ]
476-
then
477-
CFG_LLDB_PYTHON_DIR=$($CFG_LLDB -P)
478-
479-
# If CFG_LLDB_PYTHON_DIR is not a valid directory, set it to something more readable
480-
if [ ! -d "$CFG_LLDB_PYTHON_DIR" ]
481-
then
482-
CFG_LLDB_PYTHON_DIR="LLDB_PYTHON_DIRECTORY_NOT_FOUND"
483-
fi
484-
485-
putvar CFG_LLDB_PYTHON_DIR
486-
fi
487-
fi
488-
489469
if [ "$CFG_OSTYPE" = "unknown-linux-gnu" ]
490470
then
491471
probe CFG_PAXCTL paxctl /sbin/paxctl
@@ -823,12 +803,10 @@ do
823803
make_dir $h/test/run-pass-fulldeps
824804
make_dir $h/test/run-fail
825805
make_dir $h/test/compile-fail
826-
make_dir $h/test/compile-fail-fulldeps
827806
make_dir $h/test/bench
828807
make_dir $h/test/perf
829808
make_dir $h/test/pretty
830-
make_dir $h/test/debuginfo-gdb
831-
make_dir $h/test/debuginfo-lldb
809+
make_dir $h/test/debug-info
832810
make_dir $h/test/codegen
833811
make_dir $h/test/doc-tutorial
834812
make_dir $h/test/doc-guide-ffi

branches/try2/mk/crates.mk

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# DEPS_<crate>
3939
# These lists are the dependencies of the <crate> that is to be built.
4040
# Rust dependencies are listed bare (i.e. std, green) and native
41-
# dependencies have a "native:" prefix (i.e. native:hoedown). All deps
41+
# dependencies have a "native:" prefix (i.e. native:sundown). All deps
4242
# will be built before the crate itself is built.
4343
#
4444
# TOOL_DEPS_<tool>/TOOL_SOURCE_<tool>
@@ -51,20 +51,19 @@
5151

5252
TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
5353
uuid serialize sync getopts collections num test time rand \
54-
workcache url log regex graphviz core
55-
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros fmt_macros
54+
workcache url log regex graphviz
55+
HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros
5656
CRATES := $(TARGET_CRATES) $(HOST_CRATES)
5757
TOOLS := compiletest rustdoc rustc
5858

59-
DEPS_core :=
60-
DEPS_std := core libc native:rustrt native:compiler-rt native:backtrace
59+
DEPS_std := libc native:rustrt native:compiler-rt native:backtrace
6160
DEPS_green := std rand native:context_switch
6261
DEPS_rustuv := std native:uv native:uv_support
6362
DEPS_native := std
64-
DEPS_syntax := std term serialize collections log fmt_macros
63+
DEPS_syntax := std term serialize collections log
6564
DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
6665
collections time log
67-
DEPS_rustdoc := rustc native:hoedown serialize sync getopts collections \
66+
DEPS_rustdoc := rustc native:sundown serialize sync getopts collections \
6867
test time
6968
DEPS_flate := std native:miniz
7069
DEPS_arena := std collections
@@ -88,7 +87,6 @@ DEPS_workcache := std serialize collections log
8887
DEPS_log := std sync
8988
DEPS_regex := std collections
9089
DEPS_regex_macros = syntax std regex
91-
DEPS_fmt_macros = std
9290

9391
TOOL_DEPS_compiletest := test green rustuv getopts
9492
TOOL_DEPS_rustdoc := rustdoc native
@@ -97,8 +95,6 @@ TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs
9795
TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
9896
TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
9997

100-
ONLY_RLIB_core := 1
101-
10298
################################################################################
10399
# You should not need to edit below this line
104100
################################################################################

branches/try2/mk/dist.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ LICENSE.txt: $(S)COPYRIGHT $(S)LICENSE-APACHE $(S)LICENSE-MIT
3535

3636
PKG_TAR = dist/$(PKG_NAME).tar.gz
3737

38-
PKG_GITMODULES := $(S)src/libuv $(S)src/llvm $(S)src/gyp $(S)src/compiler-rt \
39-
$(S)src/rt/hoedown
38+
PKG_GITMODULES := $(S)src/libuv $(S)src/llvm $(S)src/gyp $(S)src/compiler-rt
4039
PKG_FILES := \
4140
$(S)COPYRIGHT \
4241
$(S)LICENSE-APACHE \

branches/try2/mk/docs.mk

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,26 @@ doc/footer.inc: $(D)/footer.inc | doc/
141141
@$(call E, cp: $@)
142142
$(Q)cp -a $< $@ 2> /dev/null
143143

144+
doc/FiraSans-Regular.woff: $(D)/FiraSans-Regular.woff | doc/
145+
@$(call E, cp: $@)
146+
$(Q)cp -a $< $@ 2> /dev/null
147+
148+
doc/FiraSans-Medium.woff: $(D)/FiraSans-Medium.woff | doc/
149+
@$(call E, cp: $@)
150+
$(Q)cp -a $< $@ 2> /dev/null
151+
152+
doc/Heuristica-Regular.woff: $(D)/Heuristica-Regular.woff | doc/
153+
@$(call E, cp: $@)
154+
$(Q)cp -a $< $@ 2> /dev/null
155+
156+
doc/Heuristica-Italic.woff: $(D)/Heuristica-Italic.woff | doc/
157+
@$(call E, cp: $@)
158+
$(Q)cp -a $< $@ 2> /dev/null
159+
160+
doc/Heuristica-Bold.woff: $(D)/Heuristica-Bold.woff | doc/
161+
@$(call E, cp: $@)
162+
$(Q)cp -a $< $@ 2> /dev/null
163+
144164
# The (english) documentation for each doc item.
145165

146166
define DEF_SHOULD_BUILD_PDF_DOC

branches/try2/mk/host.mk

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# $(5) - the name of the crate being processed
1919
define CP_HOST_STAGE_N_CRATE
2020

21-
ifeq ($$(ONLY_RLIB_$(5)),)
2221
$$(HLIB$(2)_H_$(4))/stamp.$(5): \
2322
$$(TLIB$(1)_T_$(3)_H_$(4))/stamp.$(5) \
2423
$$(RUST_DEPS_$(5):%=$$(HLIB$(2)_H_$(4))/stamp.%) \
@@ -31,10 +30,6 @@ $$(HLIB$(2)_H_$(4))/stamp.$(5): \
3130
$$(HLIB$(2)_H_$(4))
3231
$$(call LIST_ALL_OLD_GLOB_MATCHES,\
3332
$$(dir $$@)$$(call CFG_LIB_GLOB_$(3),$(5)))
34-
else
35-
$$(HLIB$(2)_H_$(4))/stamp.$(5):
36-
$$(Q)touch $$@
37-
endif
3833

3934
endef
4035

@@ -59,6 +54,9 @@ endef
5954
# $(4) - the host triple (same as $(3))
6055
define CP_HOST_STAGE_N
6156

57+
$$(HBIN$(2)_H_$(4))/:
58+
@mkdir -p $$@
59+
6260
ifneq ($(CFG_LIBDIR_RELATIVE),bin)
6361
$$(HLIB$(2)_H_$(4))/:
6462
@mkdir -p $$@

branches/try2/mk/prepare.mk

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ prepare-host-lib-$(1)-$(2)-$(3)-$(4): prepare-maybe-clean-$(4) \
106106
prepare-host-dirs-$(4)
107107
$$(if $$(findstring $(2), $$(PREPARE_STAGE)),\
108108
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
109-
$$(if $$(findstring 1,$$(ONLY_RLIB_$(1))),,\
110-
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$$(PREPARE_HOST),$(1)))),),)
109+
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$$(PREPARE_HOST),$(1))),),)
111110
endef
112111

113112

@@ -134,8 +133,7 @@ prepare-target-$(2)-host-$(3)-$(1)-$(4): prepare-maybe-clean-$(4) \
134133
$$(if $$(findstring $(3), $$(PREPARE_HOST)),\
135134
$$(call PREPARE_DIR,$$(PREPARE_WORKING_DEST_LIB_DIR))\
136135
$$(foreach crate,$$(TARGET_CRATES),\
137-
$$(if $$(findstring 1, $$(ONLY_RLIB_$$(crate))),,\
138-
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate))))\
136+
$$(call PREPARE_LIB,$$(call CFG_LIB_GLOB_$(2),$$(crate)))\
139137
$$(call PREPARE_LIB,$$(call CFG_RLIB_GLOB,$$(crate))))\
140138
$$(if $$(findstring $(2),$$(CFG_HOST)),\
141139
$$(foreach crate,$$(HOST_CRATES),\

branches/try2/mk/rt.mk

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,19 @@
3535
# that's per-target so you're allowed to conditionally add files based on the
3636
# target.
3737
################################################################################
38-
NATIVE_LIBS := rustrt hoedown uv_support morestack miniz context_switch
38+
NATIVE_LIBS := rustrt sundown uv_support morestack miniz context_switch
3939

4040
# $(1) is the target triple
4141
define NATIVE_LIBRARIES
4242

43-
NATIVE_DEPS_hoedown_$(1) := hoedown/src/autolink.c \
44-
hoedown/src/buffer.c \
45-
hoedown/src/document.c \
46-
hoedown/src/escape.c \
47-
hoedown/src/html.c \
48-
hoedown/src/html_blocks.c \
49-
hoedown/src/html_smartypants.c \
50-
hoedown/src/stack.c \
51-
hoedown/src/version.c
43+
NATIVE_DEPS_sundown_$(1) := sundown/src/autolink.c \
44+
sundown/src/buffer.c \
45+
sundown/src/stack.c \
46+
sundown/src/markdown.c \
47+
sundown/html/houdini_href_e.c \
48+
sundown/html/houdini_html_e.c \
49+
sundown/html/html_smartypants.c \
50+
sundown/html/html.c
5251
NATIVE_DEPS_uv_support_$(1) := rust_uv.c
5352
NATIVE_DEPS_miniz_$(1) = miniz.c
5453
NATIVE_DEPS_rustrt_$(1) := rust_builtin.c \
@@ -80,7 +79,7 @@ $$(RT_OUTPUT_DIR_$(1))/%.o: $(S)src/rt/%.c $$(MKFILE_DEPS)
8079
@mkdir -p $$(@D)
8180
@$$(call E, compile: $$@)
8281
$$(Q)$$(call CFG_COMPILE_C_$(1), $$@, \
83-
-I $$(S)src/rt/hoedown/src \
82+
-I $$(S)src/rt/sundown/src -I $$(S)src/rt/sundown/html \
8483
-I $$(S)src/libuv/include -I $$(S)src/rt \
8584
$$(RUNTIME_CFLAGS_$(1))) $$<
8685

0 commit comments

Comments
 (0)