Skip to content

Commit 6914872

Browse files
committed
Add abi.no_mangle.ascii-only
This is a restriction that wasn't previously documented.
1 parent 083fb71 commit 6914872

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/abi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ r[abi.no_mangle.edition2024]
113113
r[abi.no_mangle.publicly-exported]
114114
In addition to disabling name mangling, the item will be publicly exported from the produced library or object file, similar to the [`used` attribute](#the-used-attribute).
115115

116+
r[abi.no_mangle.ascii-only]
117+
`no_mangle` may only be used on items with a name that only contains ASCII characters.
118+
116119
r[abi.link_section]
117120
## The `link_section` attribute
118121

0 commit comments

Comments
 (0)