Skip to content

Import formatter for alloc but no_std environments #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Import formatter for alloc but no_std environments #98

wants to merge 1 commit into from

Conversation

dberlin
Copy link

@dberlin dberlin commented Mar 19, 2023

Right now, if you have alloc but no_std, packed_struct will not compile
because it does not import the Formatter type.

This imports the std one for std, no_alloc, and the alloc
one for alloc, no_std.

@dberlin
Copy link
Author

dberlin commented Mar 19, 2023

#90 already does this - it would be nice to merge it

@dberlin dberlin closed this Mar 19, 2023
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