Propagate parallel_compiler feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224.
This commit is contained in:
@@ -8,7 +8,7 @@ doctest = false
|
||||
|
||||
[dependencies]
|
||||
measureme = "10.0.0"
|
||||
rustc-rayon-core = "0.3.2"
|
||||
rustc-rayon-core = { version = "0.3.2", optional = true }
|
||||
rustc_ast = { path = "../rustc_ast" }
|
||||
rustc_data_structures = { path = "../rustc_data_structures" }
|
||||
rustc_errors = { path = "../rustc_errors" }
|
||||
@@ -20,3 +20,6 @@ rustc_query_system = { path = "../rustc_query_system" }
|
||||
rustc_serialize = { path = "../rustc_serialize" }
|
||||
rustc_session = { path = "../rustc_session" }
|
||||
rustc_span = { path = "../rustc_span" }
|
||||
|
||||
[features]
|
||||
rustc_use_parallel_compiler = ["rustc-rayon-core", "rustc_query_system/rustc_use_parallel_compiler"]
|
||||
|
||||
Reference in New Issue
Block a user