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.
1 parent 6cd9b88 commit 1911d21Copy full SHA for 1911d21
library/alloc/src/alloc.rs
@@ -14,8 +14,9 @@ mod tests;
14
15
extern "Rust" {
16
// These are the magic symbols to call the global allocator. rustc generates
17
- // them from the `#[global_allocator]` attribute if there is one, or uses the
18
- // default implementations in libstd (`__rdl_alloc` etc in `src/libstd/alloc.rs`)
+ // them to call `__rg_alloc` etc if there is a `#[global_allocator]` attribute
+ // (the code expanding that attribute macro generates those functions), or to call
19
+ // the default implementations in libstd (`__rdl_alloc` etc in `src/libstd/alloc.rs`)
20
// otherwise.
21
#[rustc_allocator]
22
#[rustc_allocator_nounwind]
0 commit comments