diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-07-27 19:03:20 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-07-27 22:44:14 +0200 |
commit | 1c0941ffc016a9b9b833b13ca96bbf8cde4df438 (patch) | |
tree | 30cabc5b2abadea8c0687bd2ce69c39f8bc5bdc1 /components/gfx/text | |
parent | 65df9cb73a26db2c61100ee8f1ecd13c6a80e225 (diff) | |
download | servo-1c0941ffc016a9b9b833b13ca96bbf8cde4df438.tar.gz servo-1c0941ffc016a9b9b833b13ca96bbf8cde4df438.zip |
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.
Diffstat (limited to 'components/gfx/text')
-rw-r--r-- | components/gfx/text/glyph.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs index 66864d3db31..78f02881058 100644 --- a/components/gfx/text/glyph.rs +++ b/components/gfx/text/glyph.rs @@ -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; |