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 section with alloc only but not libstd #10

Open
johnthagen opened this issue Mar 26, 2019 · 0 comments
Open

Add section with alloc only but not libstd #10

johnthagen opened this issue Mar 26, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@johnthagen
Copy link
Owner

johnthagen commented Mar 26, 2019

When rust-lang/rfcs#2480 is stabilized and implemented, it should be possible to create binaries that don't depend on std but do depend on alloc. This would be a step between no_std and no_main, because at least you could use the heap. The actual sample hello world code would probably not change much. It would probably be best to show off using a Vec in this instance.

This could probably be added now as a nightly subproject.

@johnthagen johnthagen added the enhancement New feature or request label Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant