Closed
Description
It would be nice if we had a version of get_boxed_info
that did not rely on the global allocator for use with the experimental feature allocator_api
. I think there is sufficient support to return a boxed value with a specific allocator, specifically Box::from_raw_in.
I ended up writing this to use myself - I think it should look something like https://gist.github.com/benpye/b46a5d2ea1a0a59e037ae3522731d0e4