Elsklivet / trolloc

:trollface:
GNU General Public License v3.0
2 stars 0 forks source link

Allow Trolloc to be used as a GlobalAlloc in Rust #3

Closed Elsklivet closed 11 months ago

Elsklivet commented 1 year ago

The GlobalAlloc trait, described here, allows an implementing struct to be used as the default allocator for a Rust program, meaning Box and other heap-allocated types would get to use this allocator. While not at all necessary for the demonstration that this project aims to be, it would be joyously chaotic to be able to write a real program in Rust using trolloc.

Elsklivet commented 11 months ago

Resolved in c1f29a1.