From ef76a7563254ca6bd7f4c00745a5c58736f92e16 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Fri, 14 Oct 2016 12:36:12 -0700 Subject: [PATCH] Fix skeptic feature --- build.rs | 4 ++-- tests/skeptic.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 7012898..ea3c7e2 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ -#[cfg(skeptic)] +#[cfg(feature = "skeptic")] fn main() { extern crate skeptic; @@ -8,5 +8,5 @@ fn main() { "doc/tutorial_3.md" ]); } -#[cfg(not(skeptic))] +#[cfg(not(feature = "skeptic"))] fn main() {} diff --git a/tests/skeptic.rs b/tests/skeptic.rs index ff46c9c..08d989f 100644 --- a/tests/skeptic.rs +++ b/tests/skeptic.rs @@ -1 +1,2 @@ +#[cfg(feature = "skeptic")] include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));