Skip to content

Add a File::get_boxed_info_in using allocator_api #483

Closed
@benpye

Description

@benpye

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions