Skip to content

Commit 1d8cdfa

Browse files
authored
Merge pull request #4182 from rust-lang/rustup-2025-02-07
Automatic Rustup
2 parents 4e529fa + 46ceec2 commit 1d8cdfa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
30865107cb8942ab8eaf9baf8d3aa2a6dec2643f
1+
942db6782f4a28c55b0b75b38fd4394d0483390f

src/bin/miri.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,15 @@ use std::num::NonZero;
2929
use std::ops::Range;
3030
use std::path::PathBuf;
3131
use std::str::FromStr;
32-
use std::sync::Once;
3332
use std::sync::atomic::{AtomicI32, AtomicU32, Ordering};
33+
use std::sync::{Arc, Once};
3434

3535
use miri::{
3636
BacktraceStyle, BorrowTrackerMethod, MiriConfig, MiriEntryFnType, ProvenanceMode, RetagFields,
3737
ValidationMode,
3838
};
3939
use rustc_abi::ExternAbi;
4040
use rustc_data_structures::sync;
41-
use rustc_data_structures::sync::Lrc;
4241
use rustc_driver::Compilation;
4342
use rustc_hir::def_id::LOCAL_CRATE;
4443
use 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
});

0 commit comments

Comments
 (0)