Skip to content
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 for no_std / libcore #9

Open
kevinaboos opened this issue Apr 10, 2017 · 3 comments
Open

Support for no_std / libcore #9

kevinaboos opened this issue Apr 10, 2017 · 3 comments

Comments

@kevinaboos
Copy link

This crate is ideal for use within an OS (to easily use C-style enums and defines), but it seems to require the std crate. Is there an option like a no_std feature to disable the std library and instead use just libcore? If not, I'd like to make that a feature request.

If that's not possible, my apologies, I am relatively new to Rust.

@skull-squadron
Copy link

skull-squadron commented Aug 24, 2017

num-traits is moving to no_std too, so it would be a good idea. I'm also trying to use it in a no_std project.

@MrBuddyCasino
Copy link

Conjuring enums from ints is something thats often needed in embedded projects. No-Std would be great!

@repi
Copy link

repi commented Apr 3, 2018

Agreed, just ran into this today as well and was surprised that enumprimitive didn't support no_std

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

No branches or pull requests

4 participants