Skip to content

Commit a8f510f

Browse files
committed
Add abi.export_name.no_mangle
Specifies the interaction with export_name and no_mangle. This is essentially a duplicate of abi.no_mangle.export_name, but I think it is worthwile to say it in both places.
1 parent bb15e96 commit a8f510f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/abi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ r[abi.export_name.edition2024]
167167
> [!EDITION-2024]
168168
> Before the 2024 edition it is allowed to use the `export_name` attribute without the `unsafe` qualification.
169169
170+
r[abi.export_name.no_mangle]
171+
If `export_name` is used with [`no_mangle`][abi.no_mangle], then the `export_name` is used instead.
172+
170173
[attribute]: attributes.md
171174
[extern functions]: items/functions.md#extern-function-qualifier
172175
[external blocks]: items/external-blocks.md

0 commit comments

Comments
 (0)