File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 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;
2929use std:: ops:: Range ;
3030use std:: path:: PathBuf ;
3131use std:: str:: FromStr ;
32- use std:: sync:: Once ;
32+ use std:: sync:: { Arc , Once } ;
3333use std:: sync:: atomic:: { AtomicI32 , AtomicU32 , Ordering } ;
3434
3535use miri:: {
@@ -38,7 +38,6 @@ use miri::{
3838} ;
3939use rustc_abi:: ExternAbi ;
4040use rustc_data_structures:: sync;
41- use rustc_data_structures:: sync:: Lrc ;
4241use rustc_driver:: Compilation ;
4342use rustc_hir:: def_id:: LOCAL_CRATE ;
4443use rustc_hir:: { self as hir, Node } ;
@@ -134,7 +133,7 @@ impl rustc_driver::Callbacks for MiriCompilerCalls {
134133 // HACK: rustc will emit "crate ... required to be available in rlib format, but
135134 // was not found in this form" errors once we use `tcx.dependency_formats()` if
136135 // 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 ) ) ;
138137 crate_source
139138 } ;
140139 } ) ;
You can’t perform that action at this time.
0 commit comments