From 962900242d1809f7b1be98107eab35bef37b87cf Mon Sep 17 00:00:00 2001 From: Anthony Miyaguchi Date: Wed, 10 Sep 2014 23:52:20 -0700 Subject: [PATCH 1/2] Removed already imported modules. --- src/lib.rs | 1 - src/xlib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ae064f7..24f83f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,5 @@ #![feature(globs)] extern crate libc; -extern crate std; pub mod xlib; diff --git a/src/xlib.rs b/src/xlib.rs index 38126bd..643cd17 100644 --- a/src/xlib.rs +++ b/src/xlib.rs @@ -11,7 +11,6 @@ #![allow(non_camel_case_types)] use libc::*; -use libc::types::os::arch::c95::wchar_t; pub type XID = c_ulong; From 4de99e3f78c36e21df75534a7c2593b844b35aa7 Mon Sep 17 00:00:00 2001 From: Anthony Miyaguchi Date: Thu, 11 Sep 2014 01:35:01 -0700 Subject: [PATCH 2/2] [[lib]] depreciated in favor of [lib] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7285f47..ebaac3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "xlib" version = "0.1.0" authors = ["The Servo Project Developers"] -[[lib]] +[lib] name = "xlib" crate-type = ["rlib"]