From b314fedc4a14ac897a0f1dbd3b84130ec82c94c9 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Mon, 30 Mar 2015 19:18:47 -0400 Subject: [PATCH] mk: build and distribute facade crates unconditionally (for now) --- mk/crates.mk | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/mk/crates.mk b/mk/crates.mk index 7494a9c5f98..f594a6a19f1 100644 --- a/mk/crates.mk +++ b/mk/crates.mk @@ -125,13 +125,18 @@ ONLY_RLIB_rustc_bitflags := 1 # On channels where the only usable crate is std, only build documentation for # std. This keeps distributions small and doesn't clutter up the API docs with # confusing internal details from the crates behind the facade. +# +# (Disabled while cmr figures out how to change rustdoc to make reexports work +# slightly nicer. Otherwise, all cross-crate links to Vec will go to +# libcollections, breaking them, and [src] links for anything reexported will +# not work.) -ifeq ($(CFG_RELEASE_CHANNEL),stable) -DOC_CRATES := std -else -ifeq ($(CFG_RELEASE_CHANNEL),beta) -DOC_CRATES := std -else +#ifeq ($(CFG_RELEASE_CHANNEL),stable) +#DOC_CRATES := std +#else +#ifeq ($(CFG_RELEASE_CHANNEL),beta) +#DOC_CRATES := std +#else DOC_CRATES := $(filter-out rustc, \ $(filter-out rustc_trans, \ $(filter-out rustc_typeck, \ @@ -143,8 +148,8 @@ DOC_CRATES := $(filter-out rustc, \ $(filter-out log, \ $(filter-out getopts, \ $(filter-out syntax, $(CRATES)))))))))))) -endif -endif +#endif +#endif COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \ rustc_typeck rustc_driver syntax rustc_privacy \ rustc_lint