From c662fba01fa887caecb5b8a9d29c7af96a02510f Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Thu, 24 Jul 2014 21:13:03 -0600 Subject: [PATCH] Upgrade Rust. --- lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib.rs b/lib.rs index 6a8c0dd..6fb6493 100644 --- a/lib.rs +++ b/lib.rs @@ -7,9 +7,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![crate_id = "github.com/mozilla-servo/rust-io-surface#io_surface:0.1"] -#![crate_type = "lib"] -#![crate_type = "dylib"] +#![crate_name = "io_surface"] #![crate_type = "rlib"] extern crate libc; @@ -36,7 +34,7 @@ type IOReturn = c_int; struct __IOSurface; -pub type IOSurfaceRef = *__IOSurface; +pub type IOSurfaceRef = *const __IOSurface; pub struct IOSurface { pub obj: IOSurfaceRef,