Skip to content

Commit 32328ac

Browse files
committed
Remove link_section and linkage as extern indicators
1 parent e6f0f7d commit 32328ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libsyntax/attr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,6 @@ pub fn find_export_name_attr(diag: &Handler, attrs: &[Attribute]) -> Option<Inte
318318

319319
pub fn contains_extern_indicator(attrs: &[Attribute]) -> bool {
320320
contains_name(attrs, "no_mangle") ||
321-
contains_name(attrs, "link_section") ||
322-
contains_name(attrs, "linkage") ||
323321
contains_name(attrs, "export_name")
324322
}
325323

0 commit comments

Comments
 (0)