Skip to content

Commit

Permalink
Auto merge of #101 - bjwbell:simd_to_repr_simd, r=metajack
Browse files Browse the repository at this point in the history
Change simd to repr simd & bump version number

With [SIMD groundwork part 1](rust-lang/rust#27169)
the simd feature is now repr_simd.

Bump the version number since this relies on the rust PR. 

r? @metajack

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/euclid/101)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Aug 28, 2015
2 parents 4bfbc42 + 0258f4d commit 36f76d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

Expand Down
2 changes: 1 addition & 1 deletion src/side_offsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl<T: Zero> SideOffsets2D<T> {

/// 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,
Expand Down

0 comments on commit 36f76d4

Please sign in to comment.