Closed
Description
Seaching for global_allocator
in the docs only surfaces core::global_allocator
. This surfaces no information on how to use it, since all that info is part of std::alloc::GlobalAlloc
.
The solution seems to link from global_allocator
to GlobalAlloc
so people can read more. However I'm not sure how to create a link between these since they live in separate crates. What's the right way to go about this?
edit: if someone wants to pick this up, please do. This is probably a "good first issue" once we figure out how to link between the two.
Screenshots
References
- 2018 guide on allocators -- this is how I eventually learned about
GlobalAlloc
; ideally it'd be easier to find.
Metadata
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the library API team, which will review and decide on the PR/issue.