File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use cargo_util::ProcessBuilder;
7
7
use serde:: ser;
8
8
use std:: cell:: RefCell ;
9
9
use std:: path:: PathBuf ;
10
- use std:: sync :: Arc ;
10
+ use std:: rc :: Rc ;
11
11
use std:: thread:: available_parallelism;
12
12
13
13
/// Configuration information for a rustc build.
@@ -35,7 +35,7 @@ pub struct BuildConfig {
35
35
pub primary_unit_rustc : Option < ProcessBuilder > ,
36
36
/// A thread used by `cargo fix` to receive messages on a socket regarding
37
37
/// the success/failure of applying fixes.
38
- pub rustfix_diagnostic_server : Arc < RefCell < Option < RustfixDiagnosticServer > > > ,
38
+ pub rustfix_diagnostic_server : Rc < RefCell < Option < RustfixDiagnosticServer > > > ,
39
39
/// The directory to copy final artifacts to. Note that even if `out_dir` is
40
40
/// set, a copy of artifacts still could be found a `target/(debug\release)`
41
41
/// as usual.
@@ -113,7 +113,7 @@ impl BuildConfig {
113
113
build_plan : false ,
114
114
unit_graph : false ,
115
115
primary_unit_rustc : None ,
116
- rustfix_diagnostic_server : Arc :: new ( RefCell :: new ( None ) ) ,
116
+ rustfix_diagnostic_server : Rc :: new ( RefCell :: new ( None ) ) ,
117
117
export_dir : None ,
118
118
future_incompat_report : false ,
119
119
timing_outputs : Vec :: new ( ) ,
You can’t perform that action at this time.
0 commit comments