52
52
TARGET_CRATES := libc std flate arena term \
53
53
serialize getopts collections test rand \
54
54
log regex graphviz core rbml alloc \
55
- unicode
55
+ unicode rustc_bitflags
56
56
RUSTC_CRATES := rustc rustc_typeck rustc_borrowck rustc_resolve rustc_driver \
57
- rustc_trans rustc_back rustc_llvm
57
+ rustc_trans rustc_back rustc_llvm rustc_privacy
58
58
HOST_CRATES := syntax $(RUSTC_CRATES ) rustdoc fmt_macros
59
59
CRATES := $(TARGET_CRATES ) $(HOST_CRATES )
60
60
TOOLS := compiletest rustdoc rustc rustbook
@@ -64,22 +64,27 @@ DEPS_libc := core
64
64
DEPS_unicode := core
65
65
DEPS_alloc := core libc native:jemalloc
66
66
DEPS_std := core libc rand alloc collections unicode \
67
- native:rust_builtin native:backtrace native:rustrt_native
67
+ native:rust_builtin native:backtrace native:rustrt_native \
68
+ rustc_bitflags
68
69
DEPS_graphviz := std
69
70
DEPS_syntax := std term serialize log fmt_macros arena libc
70
71
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
+ rustc_typeck rustc_resolve log syntax serialize rustc_llvm \
73
+ rustc_trans rustc_privacy
74
+
72
75
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back \
73
76
log syntax serialize rustc_llvm
74
77
DEPS_rustc_typeck := rustc syntax
75
78
DEPS_rustc_borrowck := rustc log graphviz syntax
76
79
DEPS_rustc_resolve := rustc log syntax
80
+ DEPS_rustc_privacy := rustc log syntax
77
81
DEPS_rustc := syntax flate arena serialize getopts rbml \
78
82
log graphviz rustc_llvm rustc_back
79
83
DEPS_rustc_llvm := native:rustllvm libc std
80
84
DEPS_rustc_back := std syntax rustc_llvm flate log libc
81
85
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
82
86
test
87
+ DEPS_rustc_bitflags := core
83
88
DEPS_flate := std native:miniz
84
89
DEPS_arena := std
85
90
DEPS_graphviz := std
@@ -111,6 +116,7 @@ ONLY_RLIB_alloc := 1
111
116
ONLY_RLIB_rand := 1
112
117
ONLY_RLIB_collections := 1
113
118
ONLY_RLIB_unicode := 1
119
+ ONLY_RLIB_rustc_bitflags := 1
114
120
115
121
# ###############################################################################
116
122
# You should not need to edit below this line
@@ -122,12 +128,13 @@ DOC_CRATES := $(filter-out rustc, \
122
128
$(filter-out rustc_borrowck, \
123
129
$(filter-out rustc_resolve, \
124
130
$(filter-out rustc_driver, \
131
+ $(filter-out rustc_privacy, \
125
132
$(filter-out log, \
126
133
$(filter-out regex, \
127
134
$(filter-out getopts, \
128
- $(filter-out syntax, $(CRATES ) ) ) ) ) ) ) ) ) ) )
135
+ $(filter-out syntax, $(CRATES ) ) ) ) ) ) ) ) ) ) ))
129
136
COMPILER_DOC_CRATES := rustc rustc_trans rustc_borrowck rustc_resolve \
130
- rustc_typeck rustc_driver syntax
137
+ rustc_typeck rustc_driver syntax rustc_privacy
131
138
132
139
# This macro creates some simple definitions for each crate being built, just
133
140
# some munging of all of the parameters above.
0 commit comments