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
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
// This file is part of libfringe, a low-level green threading library.
// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![cfg(target_os = "linux")]
#![feature(asm, test)]
extern crate test;
use test::Bencher;