From 8194f2c55d9978845ed19c489a3188ef35f6f130 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 18 Jun 2014 22:12:34 +0530 Subject: [PATCH] Update to latest Rust --- layers.rs | 2 +- lib.rs | 2 +- platform/linux/surface.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layers.rs b/layers.rs index 24454bc..58b188b 100644 --- a/layers.rs +++ b/layers.rs @@ -210,7 +210,7 @@ impl ContainerLayer { } /// Whether a texture should be flipped. -#[deriving(Eq)] +#[deriving(PartialEq)] pub enum Flip { /// The texture should not be flipped. NoFlip, diff --git a/lib.rs b/lib.rs index b0bcef1..a950464 100755 --- a/lib.rs +++ b/lib.rs @@ -16,7 +16,7 @@ extern crate geom; extern crate libc; -#[phase(syntax, link)] +#[phase(plugin, link)] extern crate log; extern crate opengles; extern crate std; diff --git a/platform/linux/surface.rs b/platform/linux/surface.rs index 335ba34..bdad6d2 100644 --- a/platform/linux/surface.rs +++ b/platform/linux/surface.rs @@ -180,7 +180,7 @@ impl NativeGraphicsMetadataDescriptor { } } -#[deriving(Eq)] +#[deriving(PartialEq)] pub enum NativeSurfaceTransientData { NoTransientData, RenderTaskTransientData(*Display, *XVisualInfo),