From eb02429f1ed366be2776f4821ededfd846a45df1 Mon Sep 17 00:00:00 2001 From: maik klein Date: Thu, 29 Dec 2016 04:43:25 +0100 Subject: [PATCH] Allow deadcode in the extensions --- src/extensions/android_surface.rs | 2 +- src/extensions/mir_surface.rs | 1 + src/extensions/surface.rs | 1 + src/extensions/win32_surface.rs | 1 + src/extensions/xcb_surface.rs | 1 + src/extensions/xlibsurface.rs | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/extensions/android_surface.rs b/src/extensions/android_surface.rs index 09548b3..7fec956 100644 --- a/src/extensions/android_surface.rs +++ b/src/extensions/android_surface.rs @@ -1,4 +1,4 @@ - +#![allow(dead_code)] use prelude::*; use std::mem; use instance::Instance; diff --git a/src/extensions/mir_surface.rs b/src/extensions/mir_surface.rs index f943ee4..bc54833 100644 --- a/src/extensions/mir_surface.rs +++ b/src/extensions/mir_surface.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use prelude::*; use std::mem; use instance::Instance; diff --git a/src/extensions/surface.rs b/src/extensions/surface.rs index 0573d79..e09910e 100644 --- a/src/extensions/surface.rs +++ b/src/extensions/surface.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use prelude::*; use std::ptr; use std::mem; diff --git a/src/extensions/win32_surface.rs b/src/extensions/win32_surface.rs index d24d110..dbffc9e 100644 --- a/src/extensions/win32_surface.rs +++ b/src/extensions/win32_surface.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use prelude::*; use std::mem; use instance::Instance; diff --git a/src/extensions/xcb_surface.rs b/src/extensions/xcb_surface.rs index fd8ecee..8b8f818 100644 --- a/src/extensions/xcb_surface.rs +++ b/src/extensions/xcb_surface.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use prelude::*; use std::mem; use instance::Instance; diff --git a/src/extensions/xlibsurface.rs b/src/extensions/xlibsurface.rs index 7661432..1ea3f8e 100644 --- a/src/extensions/xlibsurface.rs +++ b/src/extensions/xlibsurface.rs @@ -1,3 +1,4 @@ +#![allow(dead_code)] use prelude::*; use std::mem; use instance::Instance;