37
37
#
38
38
# DEPS_<crate>
39
39
# These lists are the dependencies of the <crate> that is to be built.
40
- # Rust dependencies are listed bare (i.e. std, green ) and native
40
+ # Rust dependencies are listed bare (i.e. std) and native
41
41
# dependencies have a "native:" prefix (i.e. native:hoedown). All deps
42
42
# will be built before the crate itself is built.
43
43
#
49
49
# automatically generated for all stage/host/target combinations.
50
50
# ###############################################################################
51
51
52
- TARGET_CRATES := libc std green native flate arena term \
53
- serialize sync getopts collections test time rand \
54
- log regex graphviz core rbml alloc rustrt \
52
+ TARGET_CRATES := libc std flate arena term \
53
+ serialize getopts collections test time rand \
54
+ log regex graphviz core rbml alloc \
55
55
unicode
56
- HOST_CRATES := syntax rustc rustdoc regex_macros fmt_macros \
57
- rustc_llvm rustc_back
56
+ RUSTC_CRATES := rustc rustc_typeck rustc_borrowck rustc_resolve rustc_driver \
57
+ rustc_trans rustc_back rustc_llvm
58
+ HOST_CRATES := syntax $(RUSTC_CRATES ) rustdoc regex_macros fmt_macros
58
59
CRATES := $(TARGET_CRATES ) $(HOST_CRATES )
59
60
TOOLS := compiletest rustdoc rustc
60
61
61
62
DEPS_core :=
62
63
DEPS_libc := core
63
64
DEPS_unicode := core
64
65
DEPS_alloc := core libc native:jemalloc
65
- DEPS_rustrt := alloc core libc collections native:rustrt_native
66
- DEPS_std := core libc rand alloc collections rustrt sync unicode \
67
- native:rust_builtin native:backtrace
66
+ DEPS_std := core libc rand alloc collections unicode \
67
+ native:rust_builtin native:backtrace native:rustrt_native
68
68
DEPS_graphviz := std
69
- DEPS_green := std native:context_switch
70
- DEPS_native := std
71
69
DEPS_syntax := std term serialize log fmt_macros arena libc
70
+ DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_borrowck \
71
+ rustc_typeck rustc_resolve log syntax serialize rustc_llvm rustc_trans
72
+ DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back \
73
+ log syntax serialize rustc_llvm
74
+ DEPS_rustc_typeck := rustc syntax
75
+ DEPS_rustc_borrowck := rustc log graphviz syntax
76
+ DEPS_rustc_resolve := rustc log syntax
72
77
DEPS_rustc := syntax flate arena serialize getopts rbml \
73
78
time log graphviz rustc_llvm rustc_back
74
79
DEPS_rustc_llvm := native:rustllvm libc std
75
80
DEPS_rustc_back := std syntax rustc_llvm flate log libc
76
- DEPS_rustdoc := rustc native:hoedown serialize getopts \
81
+ DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
77
82
test time
78
83
DEPS_flate := std native:miniz
79
84
DEPS_arena := std
@@ -82,7 +87,6 @@ DEPS_glob := std
82
87
DEPS_serialize := std log
83
88
DEPS_rbml := std log serialize
84
89
DEPS_term := std log
85
- DEPS_sync := core alloc rustrt collections
86
90
DEPS_getopts := std
87
91
DEPS_collections := core alloc unicode
88
92
DEPS_num := std
@@ -94,9 +98,9 @@ DEPS_regex := std
94
98
DEPS_regex_macros = rustc syntax std regex
95
99
DEPS_fmt_macros = std
96
100
97
- TOOL_DEPS_compiletest := test getopts native
98
- TOOL_DEPS_rustdoc := rustdoc native
99
- TOOL_DEPS_rustc := rustc native
101
+ TOOL_DEPS_compiletest := test getopts
102
+ TOOL_DEPS_rustdoc := rustdoc
103
+ TOOL_DEPS_rustc := rustc_driver
100
104
TOOL_SOURCE_compiletest := $(S ) src/compiletest/compiletest.rs
101
105
TOOL_SOURCE_rustdoc := $(S ) src/driver/driver.rs
102
106
TOOL_SOURCE_rustc := $(S ) src/driver/driver.rs
@@ -112,8 +116,15 @@ ONLY_RLIB_unicode := 1
112
116
# You should not need to edit below this line
113
117
# ###############################################################################
114
118
115
- DOC_CRATES := $(filter-out rustc, $(filter-out syntax, $(CRATES ) ) )
116
- COMPILER_DOC_CRATES := rustc syntax
119
+ DOC_CRATES := $(filter-out rustc, \
120
+ $(filter-out rustc_trans, \
121
+ $(filter-out rustc_typeck, \
122
+ $(filter-out rustc_borrowck, \
123
+ $(filter-out rustc_resolve, \
124
+ $(filter-out rustc_driver, \
125
+ $(filter-out syntax, $(CRATES ) ) ) ) ) ) ) )
126
+ COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
127
+ rustc_typeck rustc_driver syntax
117
128
118
129
# This macro creates some simple definitions for each crate being built, just
119
130
# some munging of all of the parameters above.
0 commit comments