mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use the packed_simd crate instead of std::simd
`std::simd` was removed in https://github.com/rust-lang/rust/pull/52535. https://crates.io/crates/packed_simd is in the rust-lang-nursery org.
This commit is contained in:
parent
65df9cb73a
commit
1c0941ffc0
4 changed files with 36 additions and 21 deletions
|
@ -4,11 +4,11 @@
|
|||
|
||||
use app_units::Au;
|
||||
use euclid::Point2D;
|
||||
#[cfg(all(feature = "unstable", any(target_feature = "sse2", target_feature = "neon")))]
|
||||
use packed_simd::u32x4;
|
||||
use range::{self, EachIndex, Range, RangeIndex};
|
||||
use std::{fmt, mem, u16};
|
||||
use std::cmp::{Ordering, PartialOrd};
|
||||
#[cfg(all(feature = "unstable", any(target_feature = "sse2", target_feature = "neon")))]
|
||||
use std::simd::u32x4;
|
||||
use std::vec::Vec;
|
||||
|
||||
pub use gfx_traits::ByteIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue