Skip to content

Commit db76327

Browse files
committed
Rollup merge of #23874 - cmr:no-compiler-docs, r=alexcrichton
r? @alexcrichton
2 parents 7afc7d3 + b314fed commit db76327

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

mk/crates.mk

+13-8
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,18 @@ ONLY_RLIB_rustc_bitflags := 1
125125
# On channels where the only usable crate is std, only build documentation for
126126
# std. This keeps distributions small and doesn't clutter up the API docs with
127127
# confusing internal details from the crates behind the facade.
128+
#
129+
# (Disabled while cmr figures out how to change rustdoc to make reexports work
130+
# slightly nicer. Otherwise, all cross-crate links to Vec will go to
131+
# libcollections, breaking them, and [src] links for anything reexported will
132+
# not work.)
128133

129-
ifeq ($(CFG_RELEASE_CHANNEL),stable)
130-
DOC_CRATES := std
131-
else
132-
ifeq ($(CFG_RELEASE_CHANNEL),beta)
133-
DOC_CRATES := std
134-
else
134+
#ifeq ($(CFG_RELEASE_CHANNEL),stable)
135+
#DOC_CRATES := std
136+
#else
137+
#ifeq ($(CFG_RELEASE_CHANNEL),beta)
138+
#DOC_CRATES := std
139+
#else
135140
DOC_CRATES := $(filter-out rustc, \
136141
$(filter-out rustc_trans, \
137142
$(filter-out rustc_typeck, \
@@ -143,8 +148,8 @@ DOC_CRATES := $(filter-out rustc, \
143148
$(filter-out log, \
144149
$(filter-out getopts, \
145150
$(filter-out syntax, $(CRATES))))))))))))
146-
endif
147-
endif
151+
#endif
152+
#endif
148153
COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
149154
rustc_typeck rustc_driver syntax rustc_privacy \
150155
rustc_lint

0 commit comments

Comments
 (0)