Skip to content

std: /dev/ptmx in MSYS2 is not recognized as a tty in std::io::IsTerminal #119658

Closed
@petrochenkov

Description

@petrochenkov

How to reproduce:

./x t tests/run-make --test-args emit-to-stdout

That test (tests\run-make\emit-to-stdout\Makefile) checks that rustc's behavior with options like --emit obj is different depending on whether stdout is tty or not.
That test uses /dev/ptmx as stdout and fails when run under MSYS2.

cc @ChrisDenton

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-windowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions