@@ -53,8 +53,8 @@ TARGET_CRATES := libc std flate arena term \
5353 serialize getopts collections test time rand \
5454 log regex graphviz core rbml alloc rustrt \
5555 unicode
56- HOST_CRATES := syntax rustc rustc_typeck rustc_trans rustdoc regex_macros fmt_macros \
57- rustc_llvm rustc_back
56+ RUSTC_CRATES := rustc rustc_typeck rustc_driver rustc_trans rustc_back rustc_llvm
57+ HOST_CRATES := syntax $( RUSTC_CRATES ) rustdoc regex_macros fmt_macros
5858CRATES := $(TARGET_CRATES ) $(HOST_CRATES )
5959TOOLS := compiletest rustdoc rustc
6060
@@ -67,14 +67,16 @@ DEPS_std := core libc rand alloc collections rustrt unicode \
6767 native:rust_builtin native:backtrace
6868DEPS_graphviz := std
6969DEPS_syntax := std term serialize log fmt_macros arena libc
70+ DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back \
71+ rustc_typeck log syntax serialize rustc_llvm rustc_trans
7072DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back \
71- rustc_typeck log syntax serialize rustc_llvm
73+ log syntax serialize rustc_llvm
7274DEPS_rustc_typeck := rustc syntax
7375DEPS_rustc := syntax flate arena serialize getopts rbml \
7476 time log graphviz rustc_llvm rustc_back
7577DEPS_rustc_llvm := native:rustllvm libc std
7678DEPS_rustc_back := std syntax rustc_llvm flate log libc
77- DEPS_rustdoc := rustc rustc_trans native:hoedown serialize getopts \
79+ DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
7880 test time
7981DEPS_flate := std native:miniz
8082DEPS_arena := std
@@ -96,7 +98,7 @@ DEPS_fmt_macros = std
9698
9799TOOL_DEPS_compiletest := test getopts
98100TOOL_DEPS_rustdoc := rustdoc
99- TOOL_DEPS_rustc := rustc_trans
101+ TOOL_DEPS_rustc := rustc_driver
100102TOOL_SOURCE_compiletest := $(S ) src/compiletest/compiletest.rs
101103TOOL_SOURCE_rustdoc := $(S ) src/driver/driver.rs
102104TOOL_SOURCE_rustc := $(S ) src/driver/driver.rs
@@ -115,8 +117,9 @@ ONLY_RLIB_unicode := 1
115117DOC_CRATES := $(filter-out rustc, \
116118 $(filter-out rustc_trans, \
117119 $(filter-out rustc_typeck, \
118- $(filter-out syntax, $(CRATES ) ) ) ) )
119- COMPILER_DOC_CRATES := rustc rustc_trans rustc_typeck syntax
120+ $(filter-out rustc_driver, \
121+ $(filter-out syntax, $(CRATES ) ) ) ) ) )
122+ COMPILER_DOC_CRATES := rustc rustc_trans rustc_typeck rustc_driver syntax
120123
121124# This macro creates some simple definitions for each crate being built, just
122125# some munging of all of the parameters above.
0 commit comments