@@ -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
135140DOC_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
148153COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
149154 rustc_typeck rustc_driver syntax rustc_privacy \
150155 rustc_lint
0 commit comments