diff --git a/Cargo.toml b/Cargo.toml index 43400990..59c44822 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "euclid" -version = "0.1.5" +version = "0.1.6" authors = ["The Servo Project Developers"] description = "Geometry primitives" documentation = "http://doc.servo.org/euclid/" diff --git a/src/lib.rs b/src/lib.rs index fbe96bf3..41a3b5e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,7 +7,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(asm, custom_derive, plugin, simd, zero_one, test)] +#![feature(asm, custom_derive, plugin, repr_simd, zero_one, test)] #![plugin(serde_macros)] diff --git a/src/side_offsets.rs b/src/side_offsets.rs index c0811041..6fb24264 100644 --- a/src/side_offsets.rs +++ b/src/side_offsets.rs @@ -76,7 +76,7 @@ impl SideOffsets2D { /// A SIMD enabled version of SideOffsets2D specialized for i32. #[derive(Clone, Copy, PartialEq)] -#[simd] +#[repr(simd)] #[cfg_attr(feature = "heap_size", derive(HeapSizeOf))] pub struct SideOffsets2DSimdI32 { pub top: i32,