mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
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 {
|
||||
contains_name(attrs, "no_mangle") ||
|
||||
contains_name(attrs, "link_section") ||
|
||||
contains_name(attrs, "linkage") ||
|
||||
contains_name(attrs, "export_name")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user