-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
fix: neon no_std #141
fix: neon no_std #141
Conversation
I was digging through the docs (I wanted to check on the transmute), and noticed it wasn't stabilized until 1.59? Woops, oh well :) |
So, it looks it's an |
The docs describe it as:
The code is: /// ARM-specific 64-bit wide vector of one packed `u64`.
#[cfg_attr(not(target_arch = "arm"), stable(feature = "neon_intrinsics", since = "1.59.0"))]
pub struct uint64x1_t(pub(crate) u64); It's obviously correct. They |
Yeah, I guess we could compile-time check for |
Yea, I know it works transmuting it now, but the transmute docs point out it's not "defined", so it can't be depended on:
The biggest "old" one would be Debian, which is really close to that range. Some other environments have even older compilers. |
@seanmonstar See #142, added a test for aarch64 on MSRV and guarded it so we fallback to |
I accidentally typed `std::mem` out of habit, this wasn't caught in seanmonstar#133 because `neon+no_std` isn't exercised
71dc365
to
b9d7bfc
Compare
I accidentally typed
std::mem
out of habit, this wasn't caught in #133 becauseneon+no_std
isn't exercised