Skip to content

better no_std support#125

Closed
alxiong wants to merge 1 commit intosupranational:masterfrom
alxiong:no_std
Closed

better no_std support#125
alxiong wants to merge 1 commit intosupranational:masterfrom
alxiong:no_std

Conversation

@alxiong
Copy link

@alxiong alxiong commented Aug 3, 2022

  • use core/alloc instead of std

@alxiong alxiong marked this pull request as draft August 3, 2022 08:33
@dot-asm
Copy link
Collaborator

dot-asm commented Aug 3, 2022

Just in case, I'd be hesitant to go "all-in" for no_std. If we go there, it would be more than appropriate to have it as a compile-time option. I assume that this is about embedded systems, so we're looking specifically at the most basic functionality, right? With no_std being an option it would be possible to mask some of the advanced functionality that would be in the way.

@alxiong
Copy link
Author

alxiong commented Aug 4, 2022

Just in case, I'd be hesitant to go "all-in" for no_std. If we go there, it would be more than appropriate to have it as a compile-time option.

yes, I plan to use feature flag to turn on/off no_std instead of enforcing #![no_std]. was occupied by other work, will continue later.

@nazar-pc
Copy link

nazar-pc commented Mar 3, 2023

Standard feature flag-based solution in #150

@dot-asm
Copy link
Collaborator

dot-asm commented Mar 10, 2023

There is #153 in works.

@dot-asm dot-asm closed this Mar 10, 2023
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

Successfully merging this pull request may close these issues.

3 participants