File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ use std::num::NonZero;
29
29
use std:: ops:: Range ;
30
30
use std:: path:: PathBuf ;
31
31
use std:: str:: FromStr ;
32
- use std:: sync:: Once ;
32
+ use std:: sync:: { Arc , Once } ;
33
33
use std:: sync:: atomic:: { AtomicI32 , AtomicU32 , Ordering } ;
34
34
35
35
use miri:: {
@@ -38,7 +38,6 @@ use miri::{
38
38
} ;
39
39
use rustc_abi:: ExternAbi ;
40
40
use rustc_data_structures:: sync;
41
- use rustc_data_structures:: sync:: Lrc ;
42
41
use rustc_driver:: Compilation ;
43
42
use rustc_hir:: def_id:: LOCAL_CRATE ;
44
43
use rustc_hir:: { self as hir, Node } ;
@@ -134,7 +133,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
134
133
// HACK: rustc will emit "crate ... required to be available in rlib format, but
135
134
// was not found in this form" errors once we use `tcx.dependency_formats()` if
136
135
// there's no rlib provided, so setting a dummy path here to workaround those errors.
137
- Lrc :: make_mut ( & mut crate_source) . rlib = Some ( ( PathBuf :: new ( ) , PathKind :: All ) ) ;
136
+ Arc :: make_mut ( & mut crate_source) . rlib = Some ( ( PathBuf :: new ( ) , PathKind :: All ) ) ;
138
137
crate_source
139
138
} ;
140
139
} ) ;
You can’t perform that action at this time.
0 commit comments