Convert libraries to use #[plugin_registrar]
This commit is contained in:
parent
ed41b71fbe
commit
aca0bac29f
4 changed files with 24 additions and 34 deletions
|
|
@ -1819,9 +1819,8 @@ type int8_t = i8;
|
|||
|
||||
### Function-only attributes
|
||||
|
||||
- `macro_registrar` - when using loadable syntax extensions, mark this
|
||||
function as the registration point for the current crate's syntax
|
||||
extensions.
|
||||
- `plugin_registrar` - mark this function as the registration point for
|
||||
compiler plugins, such as loadable syntax extensions.
|
||||
- `main` - indicates that this function should be passed to the entry point,
|
||||
rather than the function in the crate root named `main`.
|
||||
- `start` - indicates that this function should be used as the entry point,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue