File tree Expand file tree Collapse file tree 13 files changed +36
-12
lines changed Expand file tree Collapse file tree 13 files changed +36
-12
lines changed Original file line number Diff line number Diff line change @@ -3151,7 +3151,6 @@ dependencies = [
3151
3151
" chalk-engine" ,
3152
3152
" fmt_macros" ,
3153
3153
" graphviz" ,
3154
- " jobserver" ,
3155
3154
" log" ,
3156
3155
" measureme" ,
3157
3156
" num_cpus" ,
@@ -3166,6 +3165,7 @@ dependencies = [
3166
3165
" rustc_feature" ,
3167
3166
" rustc_fs_util" ,
3168
3167
" rustc_index" ,
3168
+ " rustc_jobserver" ,
3169
3169
" rustc_macros" ,
3170
3170
" rustc_session" ,
3171
3171
" rustc_target" ,
@@ -3464,7 +3464,6 @@ version = "0.0.0"
3464
3464
dependencies = [
3465
3465
" bitflags" ,
3466
3466
" cc" ,
3467
- " jobserver" ,
3468
3467
" libc" ,
3469
3468
" log" ,
3470
3469
" memmap" ,
@@ -3478,6 +3477,7 @@ dependencies = [
3478
3477
" rustc_fs_util" ,
3479
3478
" rustc_incremental" ,
3480
3479
" rustc_index" ,
3480
+ " rustc_jobserver" ,
3481
3481
" rustc_session" ,
3482
3482
" rustc_target" ,
3483
3483
" serialize" ,
@@ -3511,7 +3511,6 @@ dependencies = [
3511
3511
" ena" ,
3512
3512
" graphviz" ,
3513
3513
" indexmap" ,
3514
- " jobserver" ,
3515
3514
" lazy_static 1.3.0" ,
3516
3515
" log" ,
3517
3516
" measureme" ,
@@ -3623,6 +3622,7 @@ dependencies = [
3623
3622
" rustc_data_structures" ,
3624
3623
" rustc_errors" ,
3625
3624
" rustc_incremental" ,
3625
+ " rustc_jobserver" ,
3626
3626
" rustc_lint" ,
3627
3627
" rustc_metadata" ,
3628
3628
" rustc_mir" ,
@@ -3643,6 +3643,14 @@ dependencies = [
3643
3643
" tempfile" ,
3644
3644
]
3645
3645
3646
+ [[package ]]
3647
+ name = " rustc_jobserver"
3648
+ version = " 0.0.0"
3649
+ dependencies = [
3650
+ " jobserver" ,
3651
+ " lazy_static 1.3.0" ,
3652
+ ]
3653
+
3646
3654
[[package ]]
3647
3655
name = " rustc_lexer"
3648
3656
version = " 0.1.0"
@@ -3859,6 +3867,7 @@ dependencies = [
3859
3867
" rustc_feature" ,
3860
3868
" rustc_fs_util" ,
3861
3869
" rustc_index" ,
3870
+ " rustc_jobserver" ,
3862
3871
" rustc_target" ,
3863
3872
" serialize" ,
3864
3873
" syntax_pos" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ arena = { path = "../libarena" }
14
14
bitflags = " 1.2.1"
15
15
fmt_macros = { path = " ../libfmt_macros" }
16
16
graphviz = { path = " ../libgraphviz" }
17
- jobserver = " 0.1 "
17
+ rustc_jobserver = { path = " ../librustc_jobserver " }
18
18
num_cpus = " 1.0"
19
19
scoped-tls = " 1.0"
20
20
log = { version = " 0.4" , features = [" release_max_level_info" , " std" ] }
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ use std::ptr;
12
12
#[ cfg( parallel_compiler) ]
13
13
use {
14
14
parking_lot:: { Mutex , Condvar } ,
15
- rustc_data_structures:: { jobserver, OnDrop } ,
15
+ rustc_data_structures:: { OnDrop } ,
16
+ rustc_jobserver as jobserver,
16
17
rustc_data_structures:: fx:: FxHashSet ,
17
18
rustc_data_structures:: stable_hasher:: { StableHasher , HashStable } ,
18
19
rustc_data_structures:: sync:: Lock ,
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ num_cpus = "1.0"
16
16
memmap = " 0.7"
17
17
log = " 0.4.5"
18
18
libc = " 0.2.44"
19
- jobserver = " 0.1.11"
20
19
tempfile = " 3.1"
21
20
22
21
rustc_serialize = { path = " ../libserialize" , package = " serialize" }
@@ -33,3 +32,4 @@ rustc_index = { path = "../librustc_index" }
33
32
rustc_target = { path = " ../librustc_target" }
34
33
rustc_error_codes = { path = " ../librustc_error_codes" }
35
34
rustc_session = { path = " ../librustc_session" }
35
+ rustc_jobserver = { path = " ../librustc_jobserver" }
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ use rustc_target::spec::MergeFunctions;
30
30
use syntax:: attr;
31
31
use syntax_pos:: hygiene:: ExpnId ;
32
32
use syntax_pos:: symbol:: { Symbol , sym} ;
33
- use jobserver :: { Client , Acquired } ;
33
+ use rustc_jobserver :: { Client , Acquired } ;
34
34
35
35
use std:: any:: Any ;
36
36
use std:: fs;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ doctest = false
13
13
ena = " 0.13.1"
14
14
indexmap = " 1"
15
15
log = " 0.4"
16
- jobserver_crate = { version = " 0.1.13" , package = " jobserver" }
17
16
lazy_static = " 1"
18
17
rustc_serialize = { path = " ../libserialize" , package = " serialize" }
19
18
graphviz = { path = " ../libgraphviz" }
Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ pub mod flock;
75
75
pub mod fx;
76
76
pub mod stable_map;
77
77
pub mod graph;
78
- pub mod jobserver;
79
78
pub mod obligation_forest;
80
79
pub mod owning_ref;
81
80
pub mod ptr_key;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ rustc = { path = "../librustc" }
23
23
rustc_incremental = { path = " ../librustc_incremental" }
24
24
rustc_traits = { path = " ../librustc_traits" }
25
25
rustc_data_structures = { path = " ../librustc_data_structures" }
26
+ rustc_jobserver = { path = " ../librustc_jobserver" }
26
27
rustc_codegen_ssa = { path = " ../librustc_codegen_ssa" }
27
28
rustc_codegen_utils = { path = " ../librustc_codegen_utils" }
28
29
rustc_codegen_llvm = { path = " ../librustc_codegen_llvm" , optional = true }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use rustc::ty;
6
6
use rustc:: lint;
7
7
use rustc_codegen_utils:: codegen_backend:: CodegenBackend ;
8
8
#[ cfg( parallel_compiler) ]
9
- use rustc_data_structures :: jobserver;
9
+ use rustc_jobserver as jobserver;
10
10
use rustc_data_structures:: sync:: { Lock , Lrc } ;
11
11
use rustc_data_structures:: stable_hasher:: StableHasher ;
12
12
use rustc_data_structures:: fingerprint:: Fingerprint ;
Original file line number Diff line number Diff line change
1
+ [package ]
2
+ authors = [" The Rust Project Developers" ]
3
+ name = " rustc_jobserver"
4
+ version = " 0.0.0"
5
+ edition = " 2018"
6
+
7
+ [lib ]
8
+ name = " rustc_jobserver"
9
+ path = " lib.rs"
10
+ doctest = false
11
+
12
+ [dependencies ]
13
+ jobserver_crate = { version = " 0.1.13" , package = " jobserver" }
14
+ lazy_static = " 1"
You can’t perform that action at this time.
0 commit comments