Skip to content

Commit b7e102e

Browse files
authored
Merge pull request #4544 from rust-lang/rustup-2025-08-27
Automatic Rustup
2 parents 56f241d + 8367f92 commit b7e102e

File tree

3 files changed

+3
-4
lines changed

3 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-
a1dbb443527bd126452875eb5d5860c1d001d761
1+
269d5b56bcfdf2be82213e72ef9a2e4c592a8c6b

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ impl rustc_driver::Callbacks for MiriBeRustCompilerCalls {
279279
return None;
280280
}
281281
let codegen_fn_attrs = tcx.codegen_fn_attrs(local_def_id);
282-
if codegen_fn_attrs.contains_extern_indicator(tcx, local_def_id.into())
282+
if codegen_fn_attrs.contains_extern_indicator()
283283
|| codegen_fn_attrs
284284
.flags
285285
.contains(CodegenFnAttrFlags::USED_COMPILER)

src/helpers.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ pub fn iter_exported_symbols<'tcx>(
134134
for def_id in crate_items.definitions() {
135135
let exported = tcx.def_kind(def_id).has_codegen_attrs() && {
136136
let codegen_attrs = tcx.codegen_fn_attrs(def_id);
137-
codegen_attrs.contains_extern_indicator(tcx, def_id.into())
138-
|| codegen_attrs.flags.contains(CodegenFnAttrFlags::RUSTC_STD_INTERNAL_SYMBOL)
137+
codegen_attrs.contains_extern_indicator()
139138
|| codegen_attrs.flags.contains(CodegenFnAttrFlags::USED_COMPILER)
140139
|| codegen_attrs.flags.contains(CodegenFnAttrFlags::USED_LINKER)
141140
};

0 commit comments

Comments
 (0)