about summary refs log tree commit diff
path: root/src/test/ui/no-stdio.rs
AgeCommit message (Collapse)AuthorLines
2021-11-18Move some tests to more reasonable directoriesCaio-139/+0
2021-05-27Test THIR unsafeck for unsafe ops in closuresLeSeulArtichaut-0/+2
2020-11-22Drop support for cloudabi targetsLzu Tao-1/+0
2020-09-27Reopen standard streams when they are closed on UnixTomasz Miąsko-2/+20
The syscalls returning a new file descriptors generally use lowest-numbered file descriptor not currently opened, without any exceptions for those corresponding to the standard streams. Previously when any of standard streams has been closed before starting the application, operations on std::io::{stderr,stdin,stdout} objects were likely to operate on other logically unrelated file resources opened afterwards. Avoid the issue by reopening the standard streams when they are closed.
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+120