diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libtest/lib.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 839f697b39c..2daadfc0265 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -977,12 +977,9 @@ fn use_color(opts: &TestOpts) -> bool { } } -#[cfg(target_os = "redox")] -fn stdout_isatty() -> bool { - // FIXME: Implement isatty on Redox - false -} -#[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] +#[cfg(any(target_os = "cloudabi", + target_os = "redox", + all(target_arch = "wasm32", not(target_os = "emscripten"))))] fn stdout_isatty() -> bool { false } |
