]> git.lizzy.rs Git - rust.git/blobdiff - mk/crates.mk
librustc: Don't try to perform the magical
[rust.git] / mk / crates.mk
index a0a0bc800c45acff070fbd53616944306d641605..6c309f7c90a66a8ab21abffde1da720a085f0039 100644 (file)
@@ -51,7 +51,7 @@
 
 TARGET_CRATES := libc std green rustuv native flate arena glob term semver \
                  uuid serialize sync getopts collections num test time rand \
-                workcache url log regex graphviz core rlibc alloc
+                 url log regex graphviz core rlibc alloc debug rustrt
 HOST_CRATES := syntax rustc rustdoc fourcc hexfloat regex_macros fmt_macros
 CRATES := $(TARGET_CRATES) $(HOST_CRATES)
 TOOLS := compiletest rustdoc rustc
@@ -59,38 +59,40 @@ TOOLS := compiletest rustdoc rustc
 DEPS_core :=
 DEPS_rlibc :=
 DEPS_alloc := core libc native:jemalloc
-DEPS_std := core libc alloc native:rustrt native:backtrace
+DEPS_debug := std
+DEPS_rustrt := alloc core libc collections native:rustrt_native
+DEPS_std := core libc rand alloc collections rustrt sync \
+       native:rust_builtin native:backtrace
 DEPS_graphviz := std
-DEPS_green := std rand native:context_switch
+DEPS_green := std native:context_switch
 DEPS_rustuv := std native:uv native:uv_support
 DEPS_native := std
-DEPS_syntax := std term serialize collections log fmt_macros
-DEPS_rustc := syntax native:rustllvm flate arena serialize sync getopts \
-              collections time log graphviz
-DEPS_rustdoc := rustc native:hoedown serialize sync getopts collections \
-                test time
+DEPS_syntax := std term serialize log fmt_macros debug
+DEPS_rustc := syntax native:rustllvm flate arena serialize getopts \
+              time log graphviz debug
+DEPS_rustdoc := rustc native:hoedown serialize getopts \
+                test time debug
 DEPS_flate := std native:miniz
-DEPS_arena := std collections
+DEPS_arena := std
 DEPS_graphviz := std
 DEPS_glob := std
-DEPS_serialize := std collections log
-DEPS_term := std collections log
+DEPS_serialize := std log
+DEPS_term := std log
 DEPS_semver := std
-DEPS_uuid := std serialize rand
-DEPS_sync := std alloc
+DEPS_uuid := std serialize
+DEPS_sync := core alloc rustrt collections
 DEPS_getopts := std
-DEPS_collections := std rand
-DEPS_fourcc := syntax std
-DEPS_hexfloat := syntax std
-DEPS_num := std rand
-DEPS_test := std collections getopts serialize term time regex
-DEPS_time := std serialize sync
-DEPS_rand := std
-DEPS_url := std collections
-DEPS_workcache := std serialize collections log
-DEPS_log := std sync
-DEPS_regex := std collections
-DEPS_regex_macros = syntax std regex
+DEPS_collections := core alloc
+DEPS_fourcc := rustc syntax std
+DEPS_hexfloat := rustc syntax std
+DEPS_num := std
+DEPS_test := std getopts serialize term time regex native:rust_test_helpers
+DEPS_time := std serialize
+DEPS_rand := core
+DEPS_url := std
+DEPS_log := std
+DEPS_regex := std
+DEPS_regex_macros = rustc syntax std regex
 DEPS_fmt_macros = std
 
 TOOL_DEPS_compiletest := test green rustuv getopts
@@ -101,8 +103,11 @@ TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
 TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
 
 ONLY_RLIB_core := 1
+ONLY_RLIB_libc := 1
 ONLY_RLIB_rlibc := 1
 ONLY_RLIB_alloc := 1
+ONLY_RLIB_rand := 1
+ONLY_RLIB_collections := 1
 
 ################################################################################
 # You should not need to edit below this line