1
Fork 0

Propagate parallel_compiler feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224.

This commit is contained in:
klensy 2022-02-11 23:25:14 +03:00
parent 78fbcca3e1
commit 008fc79dcd
9 changed files with 36 additions and 14 deletions

View file

@ -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"]