diff --git a/src/lib.rs b/src/lib.rs index 501cad6..960dd04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -159,6 +159,12 @@ pub fn is(_stream: Stream) -> bool { false } +/// returns true if this is a tty +#[cfg(all(target_env = "sgx", target_vendor = "fortanix"))] +pub fn is(_stream: Stream) -> bool { + false +} + #[cfg(test)] mod tests { use super::{is, Stream};