libfringe/src/arch/mod.rs

19 lines
515 B
Rust
Raw Normal View History

2015-04-16 20:06:57 +08:00
// This file is part of libfringe, a low-level green threading library.
// Copyright (c) edef <edef@edef.eu>,
// whitequark <whitequark@whitequark.org>
// See the LICENSE file included in this distribution.
pub use self::imp::*;
// rust-lang/rust#25544
// #[cfg_attr(target_arch = "x86", path = "x86.rs")]
// #[cfg_attr(target_arch = "x86_64", path = "x86_64.rs")]
// mod imp;
2015-04-16 19:06:30 +08:00
#[cfg(target_arch = "x86")]
#[path = "x86.rs"]
mod imp;
2015-04-17 00:50:15 +08:00
#[cfg(target_arch = "x86_64")]
#[path = "x86_64.rs"]
2015-04-17 00:50:15 +08:00
mod imp;