diff options
| author | klensy <klensy@users.noreply.github.com> | 2022-02-11 23:25:14 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2022-03-28 08:41:12 +0300 |
| commit | 008fc79dcd821b08a1ab64f5fba40dcc4bcd3aee (patch) | |
| tree | b3968ac6b5ed27b001ac7d29b9123c23b7bdb6da /compiler/rustc_query_impl | |
| parent | 78fbcca3e10b6671ca54bd4c01cb84b3f6f13cf3 (diff) | |
| download | rust-008fc79dcd821b08a1ab64f5fba40dcc4bcd3aee.tar.gz rust-008fc79dcd821b08a1ab64f5fba40dcc4bcd3aee.zip | |
Propagate `parallel_compiler` feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224.
Diffstat (limited to 'compiler/rustc_query_impl')
| -rw-r--r-- | compiler/rustc_query_impl/Cargo.toml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/Cargo.toml b/compiler/rustc_query_impl/Cargo.toml index f1899a6fb2b..b7502c4b1e2 100644 --- a/compiler/rustc_query_impl/Cargo.toml +++ b/compiler/rustc_query_impl/Cargo.toml @@ -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"] |
