We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e53d006 + 5911296 commit c64a253Copy full SHA for c64a253
src/attributes.md
@@ -185,6 +185,8 @@ information on macro scope.
185
186
- `export_name` - on statics and functions, this determines the name of the
187
exported symbol.
188
+- `global_allocator` - when applied to a static item implementing the
189
+ `GlobalAlloc` trait, sets the global allocator.
190
- `link_section` - on statics and functions, this specifies the section of the
191
object file that this item's contents will be placed into.
192
- `no_mangle` - on any item, do not apply the standard name mangling. Set the
0 commit comments