Skip to content

Commit 91be86a

Browse files
committed
auto merge of #15163 : alexcrichton/rust/rollup, r=alexcrichton
2 parents 05ca9f7 + cdccecb commit 91be86a

File tree

429 files changed

+2911
-2644
lines changed

Some content is hidden

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

429 files changed

+2911
-2644
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -869,14 +869,14 @@ do
869869
make_dir $h/test/debuginfo-lldb
870870
make_dir $h/test/codegen
871871
make_dir $h/test/doc-tutorial
872+
make_dir $h/test/doc-guide
872873
make_dir $h/test/doc-guide-ffi
873874
make_dir $h/test/doc-guide-runtime
874875
make_dir $h/test/doc-guide-macros
875876
make_dir $h/test/doc-guide-lifetimes
876877
make_dir $h/test/doc-guide-pointers
877878
make_dir $h/test/doc-guide-container
878879
make_dir $h/test/doc-guide-tasks
879-
make_dir $h/test/doc-complement-cheatsheet
880880
make_dir $h/test/doc-rust
881881
done
882882

mk/docs.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
# L10N_LANGS are the languages for which the docs have been
2727
# translated.
2828
######################################################################
29-
DOCS := index intro tutorial guide-ffi guide-macros guide-lifetimes \
29+
DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
3030
guide-tasks guide-container guide-pointers guide-testing \
31-
guide-runtime complement-bugreport complement-cheatsheet \
31+
guide-runtime complement-bugreport \
3232
complement-lang-faq complement-design-faq complement-project-faq rust \
3333
rustdoc guide-unsafe
3434

mk/main.mk

+8-2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ SPACE :=
4242
SPACE +=
4343
ifneq ($(wildcard $(subst $(SPACE),\$(SPACE),$(CFG_GIT))),)
4444
ifneq ($(wildcard $(subst $(SPACE),\$(SPACE),$(CFG_GIT_DIR))),)
45-
CFG_VERSION += $(shell git --git-dir='$(CFG_GIT_DIR)' log -1 \
46-
--pretty=format:'(%h %ci)')
45+
CFG_VER_DATE = $(shell git --git-dir='$(CFG_GIT_DIR)' log -1 --pretty=format:'%ci')
4746
CFG_VER_HASH = $(shell git --git-dir='$(CFG_GIT_DIR)' rev-parse HEAD)
47+
CFG_VERSION += ($(CFG_VER_HASH) $(CFG_VER_DATE))
4848
endif
4949
endif
5050

@@ -272,6 +272,12 @@ $(foreach host,$(CFG_HOST), \
272272

273273
export CFG_SRC_DIR
274274
export CFG_BUILD_DIR
275+
ifdef CFG_VER_DATE
276+
export CFG_VER_DATE
277+
endif
278+
ifdef CFG_VER_HASH
279+
export CFG_VER_HASH
280+
endif
275281
export CFG_VERSION
276282
export CFG_VERSION_WIN
277283
export CFG_RELEASE

src/doc/complement-cheatsheet.md

-280
This file was deleted.

0 commit comments

Comments
 (0)