Skip to content

Commit 5c76e23

Browse files
authored
Merge pull request #930 from jonas-schievink/no-mangle-extras
Document extra behavior of #[no_mangle]
2 parents e30d515 + e773318 commit 5c76e23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/abi.md

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ The *`no_mangle` attribute* may be used on any [item] to disable standard
6363
symbol name mangling. The symbol for the item will be the identifier of the
6464
item's name.
6565

66+
Additionally, the item will be publicly exported from the produced library or
67+
object file, similar to the [`used` attribute](#the-used-attribute).
68+
6669
## The `link_section` attribute
6770

6871
The *`link_section` attribute* specifies the section of the object file that a

0 commit comments

Comments
 (0)