From 0258f4dfb9a67d5a5eacd51f46e82aef7da7dc19 Mon Sep 17 00:00:00 2001 From: Bryan Bell Date: Fri, 28 Aug 2015 14:01:19 -0700 Subject: [PATCH] Change simd to repr simd & bump version number With [SIMD groundwork part 1](/~https://github.com/rust-lang/rust/pull/27169) the simd feature is now repr_simd. --- Cargo.toml | 2 +- src/lib.rs | 2 +- src/side_offsets.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,