Skip to content

Commit 0cacf70

Browse files
committed
Merge link_name and export_name
1 parent 67f9124 commit 0cacf70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/foreign_items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
146146
return interp_ok(());
147147
}
148148
// Skip over items without an explicitly defined symbol name.
149-
if !(attrs.export_name.is_some()
149+
if !(attrs.symbol_name.is_some()
150150
|| attrs.flags.contains(CodegenFnAttrFlags::NO_MANGLE)
151151
|| attrs.flags.contains(CodegenFnAttrFlags::RUSTC_STD_INTERNAL_SYMBOL))
152152
{

0 commit comments

Comments
 (0)