Remove link_section and linkage as extern indicators
This commit is contained in:
parent
e6f0f7d52d
commit
32328ac6ff
@ -318,8 +318,6 @@ pub fn find_export_name_attr(diag: &Handler, attrs: &[Attribute]) -> Option<Inte
|
|||||||
|
|
||||||
pub fn contains_extern_indicator(attrs: &[Attribute]) -> bool {
|
pub fn contains_extern_indicator(attrs: &[Attribute]) -> bool {
|
||||||
contains_name(attrs, "no_mangle") ||
|
contains_name(attrs, "no_mangle") ||
|
||||||
contains_name(attrs, "link_section") ||
|
|
||||||
contains_name(attrs, "linkage") ||
|
|
||||||
contains_name(attrs, "export_name")
|
contains_name(attrs, "export_name")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user