Skip to content

Commit 2d545f9

Browse files
committed
---
yaml --- r: 103923 b: refs/heads/try c: 80920da h: refs/heads/master i: 103921: 5d1d8b0 103919: 7426dcf v: v3
1 parent 1d64311 commit 2d545f9

File tree

146 files changed

+3472
-724
lines changed

Some content is hidden

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

146 files changed

+3472
-724
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 62f1d68439dcfd509eaca29887afa97f22938373
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6e7f170fedd3c526a643c0b2d13863acd982be02
5-
refs/heads/try: 87fe3ccf09fa16d662427ffdd7a846d72551a27f
5+
refs/heads/try: 80920da6b97a04a2720cbe99e6e194e52d7cfc4a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/mk/docs.mk

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ doc/guide-tasks.html: $(D)/guide-tasks.md $(HTML_DEPS)
205205
$(Q)$(CFG_NODE) $(D)/prep.js --highlight $< | \
206206
$(CFG_PANDOC) $(HTML_OPTS) --output=$@
207207

208+
DOCS += doc/guide-conditions.html
209+
doc/guide-conditions.html: $(D)/guide-conditions.md $(HTML_DEPS)
210+
@$(call E, pandoc: $@)
211+
$(Q)$(CFG_NODE) $(D)/prep.js --highlight $< | \
212+
$(CFG_PANDOC) $(HTML_OPTS) --output=$@
213+
208214
DOCS += doc/guide-pointers.html
209215
doc/guide-pointers.html: $(D)/guide-pointers.md $(HTML_DEPS)
210216
@$(call E, pandoc: $@)
@@ -275,8 +281,7 @@ endif
275281

276282
# The rustdoc executable, rpath included in case --disable-rpath was provided to
277283
# ./configure
278-
RUSTDOC = $(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) \
279-
$(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
284+
RUSTDOC = $(HBIN2_H_$(CFG_BUILD))/rustdoc$(X_$(CFG_BUILD))
280285

281286
# The library documenting macro
282287
#
@@ -291,7 +296,9 @@ doc/$(1)/index.html: \
291296
$$(foreach dep,$$(RUST_DEPS_$(1)), \
292297
$$(TLIB2_T_$(CFG_BUILD)_H_$(CFG_BUILD))/stamp.$$(dep))
293298
@$$(call E, rustdoc: $$@)
294-
$$(Q)$$(RUSTDOC) --cfg stage2 $$<
299+
$$(Q)$$(RPATH_VAR2_T_$(CFG_BUILD)_H_$(CFG_BUILD)) $$(RUSTDOC) \
300+
--cfg stage2 $$<
301+
295302
endef
296303

297304
$(foreach crate,$(CRATES),$(eval $(call libdoc,$(crate))))

branches/try/mk/tests.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ TEST_CRATES = $(TEST_TARGET_CRATES) $(TEST_HOST_CRATES)
2121

2222
# Markdown files under doc/ that should have their code extracted and run
2323
DOC_TEST_NAMES = tutorial guide-ffi guide-macros guide-lifetimes \
24-
guide-tasks guide-container guide-pointers \
24+
guide-tasks guide-conditions guide-container guide-pointers \
2525
complement-cheatsheet guide-runtime \
2626
rust
2727

0 commit comments

Comments
 (0)