Skip to content

ICE: std::os::getcwd fails too eagerly #16946

Closed
@mahkoh

Description

@mahkoh

2014-09-02-212638_449x195_scrot
This means that getcwd is unusable outside of toy programs. There is no way to see if this function might fail before calling it or to get the path in a safe way.

rustc uses getcwd and will ICE under the conditions described in this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions