Fix encoding of link_section and no_mangle cross crate

This commit is contained in:
Jonathan Brouwer 2025-07-17 08:02:26 +02:00
parent 5795086bdf
commit 49ae52e3ff
No known key found for this signature in database
GPG key ID: F13E55D38C971DEF

View file

@ -40,9 +40,9 @@ impl AttributeKind {
Fundamental { .. } => Yes,
Ignore { .. } => No,
Inline(..) => No,
LinkName { .. } => Yes,
LinkName { .. } => Yes, // Needed for rustdoc
LinkOrdinal { .. } => No,
LinkSection { .. } => No,
LinkSection { .. } => Yes, // Needed for rustdoc
LoopMatch(..) => No,
MacroTransparency(..) => Yes,
Marker(..) => No,
@ -50,8 +50,8 @@ impl AttributeKind {
MustUse { .. } => Yes,
Naked(..) => No,
NoImplicitPrelude(..) => No,
NoMangle(..) => No,
NonExhaustive(..) => Yes,
NoMangle(..) => Yes, // Needed for rustdoc
NonExhaustive(..) => Yes, // Needed for rustdoc
OmitGdbPrettyPrinterSection => No,
Optimize(..) => No,
ParenSugar(..) => No,