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

@ -9,7 +9,7 @@ doctest = false
[dependencies]
rustc_arena = { path = "../rustc_arena" }
tracing = "0.1"
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" }
@ -23,3 +23,6 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" }
parking_lot = "0.11"
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
[features]
rustc_use_parallel_compiler = ["rustc-rayon-core"]