only build benches/swap when OsStack is available

This commit is contained in:
edef 2015-04-16 10:02:04 -04:00
parent fd61ad2f66
commit f7fb5ae4e6

View File

@ -2,6 +2,7 @@
// Copyright (c) 2015, edef <edef@edef.eu> // Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution. // See the LICENSE file included in this distribution.
#![feature(test)] #![feature(test)]
#![cfg(feature = "os")]
extern crate test; extern crate test;
extern crate fringe; extern crate fringe;
use fringe::Context; use fringe::Context;