Skip to content

Cannot compile a file in a non-utf8 directory #15890

Closed
@alexcrichton

Description

$ mkdir $(echo 'foo\xff') 
$ touch $(echo 'foo\xff')/foo.rs
$ rustc $(echo 'foo\xff')/foo.rs
error: couldn't read foo�/foo.rs: couldn't open file (no such file or directory (No such file or directory); path=foo�/foo.rs; mode=open; access=read)

Metadata

Assignees

No one assigned

    Labels

    A-driverArea: rustc_driver that ties everything together into the `rustc` compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions