mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 13:13:17 +00:00
auto merge of #14476 : luqmana/rust/docs, r=alexcrichton
We were still generating compiler docs even with --disable-docs passed. cc @pnkfelix
This commit is contained in:
commit
812785e01a
@ -287,6 +287,7 @@ $(foreach crate,$(COMPILER_DOC_CRATES),$(eval $(call DEF_LIB_DOC,$(crate),COMPIL
|
|||||||
ifdef CFG_DISABLE_DOCS
|
ifdef CFG_DISABLE_DOCS
|
||||||
$(info cfg: disabling doc build (CFG_DISABLE_DOCS))
|
$(info cfg: disabling doc build (CFG_DISABLE_DOCS))
|
||||||
DOC_TARGETS :=
|
DOC_TARGETS :=
|
||||||
|
COMPILER_DOC_TARGETS :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
docs: $(DOC_TARGETS)
|
docs: $(DOC_TARGETS)
|
||||||
|
Loading…
Reference in New Issue
Block a user