From ace4808facf085c4ccd068d33b9ab9f018e9072e Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 4 May 2015 07:32:02 +0200 Subject: Remove the "headless" feature --- src/platform/android/mod.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/platform/android') diff --git a/src/platform/android/mod.rs b/src/platform/android/mod.rs index 082608f..a1b9416 100644 --- a/src/platform/android/mod.rs +++ b/src/platform/android/mod.rs @@ -2,10 +2,8 @@ pub use api::android::*; -#[cfg(feature = "headless")] pub struct HeadlessContext(i32); -#[cfg(feature = "headless")] impl HeadlessContext { /// See the docs in the crate root file. pub fn new(_builder: BuilderAttribs) -> Result { @@ -32,7 +30,5 @@ impl HeadlessContext { } } -#[cfg(feature = "headless")] unsafe impl Send for HeadlessContext {} -#[cfg(feature = "headless")] unsafe impl Sync for HeadlessContext {} -- cgit v1.2.3