blst icon indicating copy to clipboard operation
blst copied to clipboard

better no_std support

Open alxiong opened this issue 3 years ago • 2 comments

  • use core/alloc instead of std

alxiong avatar Aug 03 '22 04:08 alxiong

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.

dot-asm avatar Aug 03 '22 14:08 dot-asm

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.

alxiong avatar Aug 04 '22 13:08 alxiong

Standard feature flag-based solution in #150

nazar-pc avatar Mar 03 '23 17:03 nazar-pc

There is #153 in works.

dot-asm avatar Mar 10 '23 19:03 dot-asm