Skip to content

Commit db80548

Browse files
Document extra behavior of #[no_mangle]
1 parent e30d515 commit db80548

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 `#[used]`.
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)