Skip to content

Commit

Permalink
Add support for SGX (using the x86_64-fortanix-unknown-sgx target)
Browse files Browse the repository at this point in the history
  • Loading branch information
sburton84 committed May 12, 2021
1 parent 7b5df17 commit f1dce0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ unsafe fn msys_tty_on(fd: DWORD) -> bool {
}

/// returns true if this is a tty
#[cfg(target_arch = "wasm32")]
#[cfg(any(target_arch = "wasm32", target_env = "sgx"))]
pub fn is(_stream: Stream) -> bool {
false
}
Expand Down

0 comments on commit f1dce0c

Please sign in to comment.