aws / dcv-color-primitives

DCV Color Primitives Library
MIT No Attribution
30 stars 22 forks source link

Changed std::arch to core::arch use #4

Closed fabiosky closed 4 years ago

fabiosky commented 4 years ago

This commit address the fact that there are some intrinsic functions that are in core::arch but not in std::arch. One example of this is _bswap: https://doc.rust-lang.org/core/arch/x86/fn._bswap.html

Converting the imports to core allows to not mix std::arch and core::arch import across modules, for a cleaner design when thinking about extensibility. It also opens the future possibility to have a no_std implementation of the library.

nacho commented 4 years ago

Looks good