Skip to content

Commit

Permalink
Merge pull request #930 from jonas-schievink/no-mangle-extras
Browse files Browse the repository at this point in the history
Document extra behavior of #[no_mangle]
  • Loading branch information
ehuss authored Jan 13, 2021
2 parents e30d515 + e773318 commit 5c76e23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ The *`no_mangle` attribute* may be used on any [item] to disable standard
symbol name mangling. The symbol for the item will be the identifier of the
item's name.

Additionally, the item will be publicly exported from the produced library or
object file, similar to the [`used` attribute](#the-used-attribute).

## The `link_section` attribute

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

0 comments on commit 5c76e23

Please sign in to comment.