Mark #[rustc_std_internal_symbol] as extern indicator
It currently implies #[no_mangle] which is alread an extern indicator, but this will change in a future commit.
This commit is contained in:
parent
98b9d0232f
commit
60b785fc8d
2 changed files with 2 additions and 4 deletions
|
@ -174,6 +174,7 @@ impl CodegenFnAttrs {
|
|||
/// * `#[linkage]` is present
|
||||
pub fn contains_extern_indicator(&self) -> bool {
|
||||
self.flags.contains(CodegenFnAttrFlags::NO_MANGLE)
|
||||
|| self.flags.contains(CodegenFnAttrFlags::RUSTC_STD_INTERNAL_SYMBOL)
|
||||
|| self.export_name.is_some()
|
||||
|| match self.linkage {
|
||||
// These are private, so make sure we don't try to consider
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue