forked from M-Labs/libfringe
only build benches/kernel_swap on Linux
This commit is contained in:
parent
f7fb5ae4e6
commit
77ffd6bc03
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue