// This file is part of libfringe, a low-level green threading library. // Copyright (c) 2015, edef // See the LICENSE file included in this distribution. pub use self::imp::*; #[cfg(feature = "valgrind")] #[path = "valgrind.rs"] mod imp; #[cfg(not(feature = "valgrind"))] mod imp { use stack; #[derive(Debug)] pub struct StackId; /// No-op since no valgrind impl StackId { pub unsafe fn register(_stack: &mut Stack) -> StackId { StackId } } }