Skip to content

Allow for use of data structures without std by adding alloc feature#214

Open
iriswebb wants to merge 1 commit into
harfbuzz:mainfrom
iriswebb:main
Open

Allow for use of data structures without std by adding alloc feature#214
iriswebb wants to merge 1 commit into
harfbuzz:mainfrom
iriswebb:main

Conversation

@iriswebb

Copy link
Copy Markdown

Most data structures (String, Vec, etc) don't require the standard library to work, since they are also part of the alloc crate. Which can work in no_std environments independent of alloc as long as a #[global_allocator] is provided by the user.

This patch adds an alloc feature and turns most invocations of std data structures into invocations of alloc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant