Skip to content

Commit

Permalink
Remove link_section and linkage as extern indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx committed Feb 11, 2016
1 parent e6f0f7d commit 32328ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libsyntax/attr.rs
Expand Up @@ -318,8 +318,6 @@ pub fn find_export_name_attr(diag: &Handler, attrs: &[Attribute]) -> Option<Inte

pub fn contains_extern_indicator(attrs: &[Attribute]) -> bool {
contains_name(attrs, "no_mangle") ||
contains_name(attrs, "link_section") ||
contains_name(attrs, "linkage") ||
contains_name(attrs, "export_name")
}

Expand Down

0 comments on commit 32328ac

Please sign in to comment.