]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/pass/shims/io.rs
Auto merge of #104915 - weihanglo:update-cargo, r=ehuss
[rust.git] / src / tools / miri / tests / pass / shims / io.rs
1 #![feature(is_terminal)]
2
3 use std::io::IsTerminal;
4
5 fn main() {
6     // We can't really assume that this is truly a terminal, and anyway on Windows Miri will always
7     // return `false` here, but we can check that the call succeeds.
8     std::io::stdout().is_terminal();
9 }