We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6633c0e commit 50984d9Copy full SHA for 50984d9
src/lib.rs
@@ -36,7 +36,7 @@ pub enum Stream {
36
}
37
38
/// returns true if this is a tty
39
-#[cfg(all(unix, not(target_arch = "wasm32")))]
+#[cfg(all(unix, not(any(target_arch = "wasm32", target_arch = "wasm64"))))]
40
pub fn is(stream: Stream) -> bool {
41
extern crate libc;
42
@@ -154,7 +154,7 @@ unsafe fn msys_tty_on(fd: DWORD) -> bool {
154
155
156
157
-#[cfg(any(target_arch = "wasm32", target_env = "sgx"))]
+#[cfg(any(target_arch = "wasm32", target_arch = "wasm64", target_env = "sgx"))]
158
pub fn is(_stream: Stream) -> bool {
159
false
160
0 commit comments