-
Notifications
You must be signed in to change notification settings - Fork 51
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
support no_std #287
support no_std #287
Conversation
Oh sure, I have a trick I use to test that in my no-std libs, which is to cross-compile targeting The only issue it discovered was caused by a missing |
Neat! That's a good trick to know
Sounds great, thanks for putting up a PR against |
I have a compiler/interpreter project I'm developing for embedded systems, and this crate looks perfect for saving a ton of heap space and gaining locality for my many symbol tables. The only issue is that it needs to be
no_std
and #29 was closed a long time ago. So I've gone ahead and redone that work here.It's pretty much all just a switch from
std
tocore
oralloc
versions of things, plus a new (default) feature flag calledstd
that enables a few small things like operations onOsString
and the like.The new version passes all test cases in standard mode, successfully builds in no-std mode, and miri has no issues with anything.