Merge commit 'e0e9a4517f
' into sync-portable-simd-2023-11-19
This commit is contained in:
commit
830b387e17
55 changed files with 2119 additions and 1018 deletions
|
@ -1,5 +1,10 @@
|
|||
#![cfg_attr(feature = "as_crate", no_std)] // We are std!
|
||||
#![cfg_attr(feature = "as_crate", feature(platform_intrinsics), feature(portable_simd))]
|
||||
#![cfg_attr(
|
||||
feature = "as_crate",
|
||||
feature(platform_intrinsics),
|
||||
feature(portable_simd),
|
||||
allow(internal_features)
|
||||
)]
|
||||
#[cfg(not(feature = "as_crate"))]
|
||||
use core::simd;
|
||||
#[cfg(feature = "as_crate")]
|
||||
|
@ -144,7 +149,7 @@ where
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use simd::*;
|
||||
use simd::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn everything_works() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue