only build benches/kernel_swap on Linux

This commit is contained in:
edef 2015-04-16 10:03:13 -04:00
parent f7fb5ae4e6
commit 77ffd6bc03

View File

@ -1,6 +1,7 @@
// This file is part of libfringe, a low-level green threading library. // This file is part of libfringe, a low-level green threading library.
// 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.
#![cfg(target_os = "linux")]
#![feature(asm, test)] #![feature(asm, test)]
extern crate test; extern crate test;
use test::Bencher; use test::Bencher;