File tree Expand file tree Collapse file tree 14 files changed +19
-18
lines changed Expand file tree Collapse file tree 14 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -3505,7 +3505,6 @@ version = "0.0.0"
35053505dependencies = [
35063506 " log" ,
35073507 " rustc_ast" ,
3508- " rustc_data_structures" ,
35093508 " rustc_span" ,
35103509]
35113510
@@ -3522,7 +3521,6 @@ dependencies = [
35223521 " rustc_session" ,
35233522 " rustc_span" ,
35243523 " serialize" ,
3525- " smallvec 1.0.0" ,
35263524]
35273525
35283526[[package ]]
@@ -3781,7 +3779,6 @@ dependencies = [
37813779 " rustc_ast" ,
37823780 " rustc_attr" ,
37833781 " rustc_data_structures" ,
3784- " rustc_error_codes" ,
37853782 " rustc_errors" ,
37863783 " rustc_hir" ,
37873784 " rustc_index" ,
@@ -3948,7 +3945,6 @@ dependencies = [
39483945 " rustc_hir" ,
39493946 " rustc_index" ,
39503947 " rustc_infer" ,
3951- " rustc_macros" ,
39523948 " rustc_session" ,
39533949 " rustc_span" ,
39543950 " rustc_target" ,
@@ -3985,7 +3981,6 @@ dependencies = [
39853981 " rustc_attr" ,
39863982 " rustc_data_structures" ,
39873983 " rustc_errors" ,
3988- " rustc_feature" ,
39893984 " rustc_hir" ,
39903985 " rustc_index" ,
39913986 " rustc_infer" ,
@@ -4039,7 +4034,6 @@ dependencies = [
40394034 " rustc_expand" ,
40404035 " rustc_feature" ,
40414036 " rustc_hir" ,
4042- " rustc_infer" ,
40434037 " rustc_metadata" ,
40444038 " rustc_session" ,
40454039 " rustc_span" ,
@@ -4075,7 +4069,6 @@ dependencies = [
40754069 " rustc_errors" ,
40764070 " rustc_feature" ,
40774071 " rustc_fs_util" ,
4078- " rustc_index" ,
40794072 " rustc_span" ,
40804073 " rustc_target" ,
40814074 " serialize" ,
@@ -4129,9 +4122,7 @@ dependencies = [
41294122 " rustc_data_structures" ,
41304123 " rustc_hir" ,
41314124 " rustc_infer" ,
4132- " rustc_macros" ,
41334125 " rustc_span" ,
4134- " rustc_target" ,
41354126 " smallvec 1.0.0" ,
41364127]
41374128
Original file line number Diff line number Diff line change @@ -91,3 +91,8 @@ pub mod util {
9191
9292// Allows macros to refer to this crate as `::rustc`
9393extern crate self as rustc;
94+
95+ // Suppress warning: these crates will be unused when cfg(parallel_compiler) is not enabled
96+ use rustc_rayon as _;
97+ use rustc_rayon_core as _;
98+ use jobserver as _;
Original file line number Diff line number Diff line change @@ -12,5 +12,4 @@ doctest = false
1212[dependencies ]
1313log = " 0.4"
1414rustc_span = { path = " ../librustc_span" }
15- rustc_data_structures = { path = " ../librustc_data_structures" }
1615rustc_ast = { path = " ../librustc_ast" }
Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ rustc_span = { path = "../librustc_span" }
1717rustc_data_structures = { path = " ../librustc_data_structures" }
1818rustc_feature = { path = " ../librustc_feature" }
1919rustc_macros = { path = " ../librustc_macros" }
20- smallvec = { version = " 1.0" , features = [" union" , " may_dangle" ] }
2120rustc_session = { path = " ../librustc_session" }
2221rustc_ast = { path = " ../librustc_ast" }
Original file line number Diff line number Diff line change 2424#![ feature( thread_id_value) ]
2525#![ allow( rustc:: default_hash_types) ]
2626
27+ // Suppress warning: these crates will be unused when cfg(parallel_compiler) is not enabled
28+ use crossbeam_utils as _;
29+ use rayon as _;
30+ use rayon_core as _;
31+
2732#[ macro_use]
2833extern crate log;
2934#[ cfg( unix) ]
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ rustc_attr = { path = "../librustc_attr" }
1717rustc = { path = " ../librustc" }
1818rustc_data_structures = { path = " ../librustc_data_structures" }
1919rustc_errors = { path = " ../librustc_errors" }
20- rustc_error_codes = { path = " ../librustc_error_codes" }
2120rustc_hir = { path = " ../librustc_hir" }
2221rustc_index = { path = " ../librustc_index" }
2322rustc_macros = { path = " ../librustc_macros" }
Original file line number Diff line number Diff line change @@ -21,3 +21,6 @@ pub use queries::Queries;
2121
2222#[ cfg( test) ]
2323mod tests;
24+
25+ // Suppress warning: this crate will be unused when cfg(parallel_compiler) is not enable
26+ use rayon as _;
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ rustc_index = { path = "../librustc_index" }
2020rustc_errors = { path = " ../librustc_errors" }
2121rustc_hir = { path = " ../librustc_hir" }
2222rustc_infer = { path = " ../librustc_infer" }
23- rustc_macros = { path = " ../librustc_macros" }
2423rustc_serialize = { path = " ../libserialize" , package = " serialize" }
2524rustc_session = { path = " ../librustc_session" }
2625rustc_span = { path = " ../librustc_span" }
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ rustc = { path = "../librustc" }
1414rustc_attr = { path = " ../librustc_attr" }
1515rustc_data_structures = { path = " ../librustc_data_structures" }
1616rustc_errors = { path = " ../librustc_errors" }
17- rustc_feature = { path = " ../librustc_feature" }
1817rustc_hir = { path = " ../librustc_hir" }
1918rustc_index = { path = " ../librustc_index" }
2019rustc_infer = { path = " ../librustc_infer" }
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ rustc_errors = { path = "../librustc_errors" }
2424rustc_expand = { path = " ../librustc_expand" }
2525rustc_feature = { path = " ../librustc_feature" }
2626rustc_hir = { path = " ../librustc_hir" }
27- rustc_infer = { path = " ../librustc_infer" }
2827rustc_metadata = { path = " ../librustc_metadata" }
2928rustc_session = { path = " ../librustc_session" }
3029rustc_span = { path = " ../librustc_span" }
You can’t perform that action at this time.
0 commit comments