Closed fabiosky closed 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
core::arch
std::arch
_bswap
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.
core
no_std
Looks good
This commit address the fact that there are some intrinsic functions that are in
core::arch
but not instd::arch
. One example of this is_bswap
: https://doc.rust-lang.org/core/arch/x86/fn._bswap.htmlConverting the imports to
core
allows to not mixstd::arch
andcore::arch
import across modules, for a cleaner design when thinking about extensibility. It also opens the future possibility to have ano_std
implementation of the library.