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

Add no_std support #10

Closed
hobofan opened this issue Jan 16, 2019 · 1 comment
Closed

Add no_std support #10

hobofan opened this issue Jan 16, 2019 · 1 comment

Comments

@hobofan
Copy link
Contributor

hobofan commented Jan 16, 2019

Would be great if stretch would have #![no_std] support to make it work on as many platforms as possible!

Luckily all std dependencies (except for Vec) are actually from core, so this should be doable.

If you want I can prepare a PR that adds conditional no_std support via a feature flag. Sadly for now the no_std variant will only work on nightly for now, as the alloc crate (required for Vec) is unstable for now.

@emilsjolander
Copy link
Contributor

I think supporting no_std would be great! How much would have to change to support this, assuming we can use alloc crate? If it's not a huge change then feel free to show me in a PR 👍

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

2 participants