Repository navigation
Replace uses of std with core and alloc - #50
Merged
Merged
Conversation
adamreichold
requested changes
Jul 14, 2026
Contributor
Author
|
I've updated this with some modifications as requested and an additional CI job building on thumbv7m. I also fixed the |
Member
|
Triggered the CI to test it. One more nit, one more change. Almost there! |
Contributor
Author
|
Awesome, another couple changes to address your comments. Let me know if there's anything else you'd like me to tweak! |
adamreichold
approved these changes
Jul 16, 2026
adamreichold
left a comment
Member
There was a problem hiding this comment.
LGTM. Thank you for your contribution!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kia ora!
Just a small PR to allow using this crate in
no_stdcontexts!There aren't any uses of
stdbeyond structures already exposed inalloc, so it's a pretty trivial patch.I've mainly changed import
uses, but also a couple of fully qualified paths where they exist. I also addedno-stdas a keyword/category inCargo.tomland the README to advertise this feature a bit more as it can be hard to tell at a glance if a crate usesstdor not. Let me know if you'd prefer any changes to my approach, happy to tweak things :)Thanks for the great crate!